SvennD
Avoid rsyncing thumb.db
January 9, 2018

Avoid rsyncing thumb.db

Posted on January 9, 2018  •  1 minutes  • 71 words  •  Suggest Changes

If your sync is syncing a bunch of thumb.db files from windows cause someone opened the directory, you can easely remove it from the sync :

rsync -avhn --exclude 'Thumbs.db' source destination

note : I added -n for copy/paste mistakes 🙂

if you got plenty of file types/extensions you want ignored/excluded use :

rsync -avhn --exclude-from '/opt/exclude_rsync_list.txt' source destination

an example of this file could be :

.DS_Store
Thumbs.db

happy syncing.

Support

If you enjoyed this website, consider buying me a Dr. Pepper

Buy me a Dr PepperBuy me a Dr Pepper