I have shelves & shelves of cds that i have ripped to FLAC & it sits on my laptop but a recent drop of my laptop rendered its hard disk no longer useful for storing data.
I had a backup of my library on my NAS but it was maintained by hand using copy & paste whenever i remembered. SO i have now found that i have to re-rip a bunch of my CDs.
Now using RSYNC i have this problem no longer there is a quick & easy way to sync.
Install RSYNC (as root)
apt-get install rsync
First mount the two libraries (as root)
mount /dev/sdb4 /mnt/stuff/
mount //192.168.1.5/DATA /mnt/samba/
Make sure all the permissions are ok (as root)
chmod -R 777 /mnt/stuff
chmod -R 777 /mnt/samba
List the files that would change if a sync went ahead
rsync –size-only –verbose –recursive –dry-run /mnt/stuff/Music/ /mnt/samba/Music/
Once your happy with the files that will move take off the –dry-run
rsync –size-only –verbose –recursive /mnt/stuff/Music/ /mnt/samba/Music/
Thats all there is to it!