rysnc - disable ~/Desktop directory
by Hitch from LinuxQuestions.org on (#5C34X)
I'm trying to write a script to backup my desktop. I have two problems - first I had a local business setup my desktop after a mother board crash, there's a directory /media in the ~/Desktop directory which contains my two HD's md0 & sda2. This cases a backup twice. How do I remove this directory?
Second - using rsync -aAXv --dry-run --exclude=~/Desktop/ other stuff \
/home /media/ron/usb-drive
doesnot work or ~/Desktop
What am I missing. Time to re-learn linux. Too old for that. LOL


Second - using rsync -aAXv --dry-run --exclude=~/Desktop/ other stuff \
/home /media/ron/usb-drive
doesnot work or ~/Desktop
What am I missing. Time to re-learn linux. Too old for that. LOL