Rsync exclude (or include) issue
I am trying to use rsync in order to create a mirror of the contents of a remote disk. I know how to do it, but here is the problem: the disk contains several directories, each of which has the exact same contents, except for a subdirectory.
file 1Directory Two
file 5I am interested in mirroring the contents of "subdir 2", and not the contents of any other file or dir that may (or may not) be inside "Directory One" and "Directory Two".
I've already tried several ideas for including (or excluding) names in my rsync command, but nothing i can think of seems to be working properly. I would appreciate any help.
Here is how i RSYNC my Fedora Repos to my Samba server
rsync -avrt rsync://mirror.anl.gov/fedora/linux/updates/12/x86_64/ --exclude=debug/ /var/www/html/Fedora/updates/12/x86_64
Is your remote source rsync'able?
|All times are GMT -5. The time now is 08:34 PM.|