selectively copying files

Mag Gam magawake at gmail.com
Tue Jan 11 18:52:43 MST 2011


Hello All,

I am trying to sync 2 directories.

src/year/month/day/fileA.csv
src/year/month/day/fileB.csv
src/year/month/day/fileC.csv
..
src/year/month/day/fileZ.csv

I would to sync only file{B,D,T}.csv to my target directory so it
would look like this.

tgt/year/month/day/fileB.csv
tgt/year/month/day/fileD.csv
tgt/year/month/day/fileT.csv

what is the best way to do this?

TIA


More information about the rsync mailing list