Posted By

m1b on 07/03/12


Tagged


Versions (?)

rsync only *.h files from a remote directory tree


 / Published in: Bash
 

rsync quirks

  1. #get only the *.h files from the dir tree:
  2. # preserve timestamps and most of the properties
  3. rsync -atrzv --include "*/" --include "**/*.h" --exclude "**/*" -m someUser@some-host:/rootpath/path2/path2 .

Report this snippet  

You need to login to post a comment.