After a long time I publish my backup (ultra sophisticated) technology 😛
I have a 80 Gb USB external hard drive and I want to copy everything inside my home directory (files, directory, hidden files, and so on), so I started using unison but it didn’t permit to exclude directories.
IMPORTANT:You MUST stay on your ~.
[lfoppiano@sboing ~]$ rsync -av --delete --exclude='Videos/*' --exclude='Music/*' --delete-excluded --progress . /media/Backup/sboing/home/lfoppiano/
My Hard drive directory is divided as /media/backup/host/directory/whatever/subwhatever
If you have suggestion, tell me, if will be useful I will update this post 😉