This script automatically remembers upto what date you have taken the backup.

Now it will start taking your backup since 01 Jan 2013. Then it remembers the date on which you have taken the backup. Then onwards simply run this script, it will take backup of files modified since last backup!

Scripts updated to automatically remember the last backup date and time. So next time when you run this script, it will take backup of files modified since last backup!_________________[Wary 530 on AMD Athlon XP 2000+ with 256MB RAM]
[Fatdog 611 on Intel Pentium B960 with 4GB RAM]

Learnings:
1. 'realpath' command shows the absolute path of a file.
2. When a script is in /bin, and the script is executed, $0 holds its full path, like '/bin/a.sh'_________________[Wary 530 on AMD Athlon XP 2000+ with 256MB RAM]
[Fatdog 611 on Intel Pentium B960 with 4GB RAM]

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum