Results 1 to 4 of 4
I am looking for some help/ideas on writing a script that can backup a large music/mp3 collection that I keep adding too. Here are the details:
Folder structure:
Artist (folder) ...
- 03-10-2010 #1Just Joined!
- Join Date
- Apr 2005
- Posts
- 32
TAR Script to backup Music Archive
I am looking for some help/ideas on writing a script that can backup a large music/mp3 collection that I keep adding too. Here are the details:
Folder structure:
Artist (folder) > Album (folder) > Song (file)
In my head I see the script going into the artist folder identifying the album and then creating a tar.gz file of only that album and then moving onto the next album and doing the same thing, and then the next artist and so on...
In a perfect world this would be a cron job that runs once a week and only creates new tar.gz files for new albums that have been added. So there would need to be some reverse checking built into this.
212GB's of Music, about 40,000 Songs, so i know this will take a while to run the first time, but storage space and compute power is not a problem.
Thanks for taking the time to read this, and I really appreciate any thoughts/ideas!!
-Matthew-
- 03-10-2010 #2Stumbling around the 'net:
www.cloudyuseful.com
- 03-15-2010 #3Just Joined!
- Join Date
- Apr 2005
- Posts
- 32
PSIC - Thanks for posting a reply. I appreciate the suggestion of fwbackups and rsync. I have downloaded fwbackups and will play around with that.
However i am still very interested in learning and writing a script that can also accomplish this task. Can you possibly make some suggestions?
Thanks
- 03-21-2010 #4
Hey, sorry for the late reply. For learning to write Bash scripts, this guide is really great. Hope it helps!
Stumbling around the 'net:
www.cloudyuseful.com


Reply With Quote