Understand include exclude script
marcpirat at yahoo.com
Fri Oct 19 06:28:49 MDT 2012
i use a script to backup my homedir, that work but there are somes things i don't really understand.
here my script
rsync -arv --delete --prune-empty-dirs --include-from=include.txt --exclude-from=exclude /home/bob /media/usbkey
I have a lot of folder in my home: music, video, Document.
I undersdand that it script copy skype, local-mail and mozilla content.
-.** means exclude other?
and for exlude file: exclude Desktop, Download and .* means all other?
also why music, video and document are copied, is there something in the script who said to copy it?
More information about the rsync