Article 5C34X rysnc - disable ~/Desktop directory

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. LOLlatest?d=yIl2AUoC8zA latest?i=CfEM7QKPAxc:8DSn6eci9uc:F7zBnMy latest?i=CfEM7QKPAxc:8DSn6eci9uc:V_sGLiP latest?d=qj6IDK7rITs latest?i=CfEM7QKPAxc:8DSn6eci9uc:gIN9vFwCfEM7QKPAxc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments