Posted By

studioevoque on 01/17/11


Tagged

Bash rsync


Versions (?)

Recursively copy only files with certain extension with rsync


 / Published in: Bash
 

URL: http://www.supermind.org/blog/873/recursively-copy-only-files-with-certain-extension-with-rsync

Useful for syncing only MP3 or PDF files which are nested in a deep directory tree

  1. rsync -rvtW --delay-updates --modify-window=1 --progress --include='*.pdf' --include='*.mp3' --exclude='*.*' source dest

Report this snippet  

You need to login to post a comment.