Deprecated: Assigning the return value of new by reference is deprecated in /customers/1/f/c/dahoiv.net/httpd.www/programmering/wp-includes/cache.php on line 36 Deprecated: Assigning the return value of new by reference is deprecated in /customers/1/f/c/dahoiv.net/httpd.www/programmering/wp-includes/query.php on line 21 Deprecated: Assigning the return value of new by reference is deprecated in /customers/1/f/c/dahoiv.net/httpd.www/programmering/wp-includes/theme.php on line 507 Bash | Programming

Archive for the 'Bash' Category

Bash script for SFV and uncompressing of .r00 files - NEW VERSION

December 20th, 2008 by Daniel Høyer Iversen

A bash script to verify the integrity of files on Linux. Simple file verification (SFV) is file format to store CRC32 checksums. If the checksums is correct, then the script will uncompress the files. The script can be used at files of format .rar, .r00, .r01 etc and with a .sfv file. This is a new version, but here is the old one.

Continue reading ‘Bash script for SFV and uncompressing of .r00 files - NEW VERSION’

Get Ip address

August 8th, 2008 by Daniel Høyer Iversen

If you have a server with a dynamical ip address. You can use this script to get the ip address to your mail box. Maybe you have to change the smtp-server to your ISP’s smtp-server. Run “sudo crontab -e” and add “00  *    *     *     *   ~/scripts/ip” to get an email every hour.

Continue reading ‘Get Ip address’

Bash script for SFV and uncompressing of .r00 files

June 14th, 2008 by Daniel Høyer Iversen

A bash script to verify the integrity of files on Linux. Simple file verification (SFV)  is file format to store CRC32 checksums. If the checksums is correct, then the script will uncompress the files. The script can be used at files of format .rar, .r00, .r01 etc and with a .sfv file.

Continue reading ‘Bash script for SFV and uncompressing of .r00 files’