How to rsync selective subdirectories

Nitin Agarwal nitin.agarwal at timesgroup.com
Sun Aug 11 22:30:01 EST 2002


Hi
My directory structure is something like following:

List of files in  /abc/dir/
        20020811
        20020812
        20020814
        20020815
(where directory name above is the date, and daily changes i.e.
directories are added and deleted)

list of files in /abc/dir/20020811
        toid
        toil
        etd
        dt
(all the date directories contain the directories as above and there are
many subdirectories in the aboce directories)
I want to rsync all the dates directories but only the "toid"
subdirectory.

MY QUESTION IS: How can i rsync only the selected subdirectories?

Please help in this matter...

Thanks
Nitin




More information about the rsync mailing list