bash copy everything, excluding some files
Posted by rolf on Thursday, 20 August 2015For copying a bunch of files and excluding certain files, an easy tool to use is rsync. To exclude all .h5 files use following command
rsync -rv copy/all/from/this/path/* --exclude=*.h5 /path/Where/To/Copy
r = recursive (copies everything), v = verbose