include exclude help please.
jrice at bigidea.com
Wed Mar 20 01:55:29 EST 2002
I know this is a big topic on the list, please forgive me.
rsync -avv --include "/film/jonah/**/sourceimages/*.tif" --exclude "*" /film /tmp
i'm trying to copy all *.tif 's that are in a */sourceimages/ directory
and that are only under /film/jonah.
i would like to copy the directory tree and tif files to /tmp
i was able to copy ever tif with:
rsync -a --include "*/" --include "*.tif" --exclude "*" /film/ /tmp/film
but i would really like to narrow it down to just
the tif files in any sourceimages directory.
any help wold be appreciated.
More information about the rsync