Archive for the 'Bash' Category

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’