include exclude help please.

tim.conway at philips.com tim.conway at philips.com
Wed Mar 20 04:19:33 EST 2002


Joe:  relative to /film, there is no film/,, so to get things starting at 
jonah under /film, you name it as '/jonah', like so:
rsync -avv --include "/jonah/**/sourceimages/*.tif" --exclude "*" /film 
/tmp

I still haven't seen The Fellowship of the Ring, but I'm planning on 
camping out overnight to get tickets to "Johah".

Tim Conway
tim.conway at philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn, 
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), 
".\n" '
"There are some who call me.... Tim?"




Joe Rice <jrice at bigidea.com>
Sent by: rsync-admin at lists.samba.org
03/19/2002 07:55 AM

 
        To:     rsync at lists.samba.org
        cc:     (bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        include exclude help please.
        Classification: 





hi.
  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.

thanks,
joe

-- 
To unsubscribe or change options: 
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html







More information about the rsync mailing list