Mirroring directories at once

Eberhard Moenkeberg emoenke at gwdg.de
Fri Dec 31 23:16:01 GMT 2004


Hi,

On Fri, 31 Dec 2004, Paul Smith wrote:
> On Fri, 31 Dec 2004 23:49:28 +0100 (CET), Eberhard Moenkeberg <emoenke at gwdg.de> wrote:

> > > I would like to use the command rsync to have a perfect copy of each
> > > one of five directories and their contents. How can I do that at once?
> > > I know that I can do that directory by directory... but it would not
> > > be the fastest way.
> > 
> > You can rsync the directory above and exclude what you do not want.
> 
> Thanks, Eberhard. Sorry, but, since I am a novice user of rsync, I did
> not fully understand what you meant.

You can use parameters like "--exclude /directoryA --exclude /directoryB".

Cheers -e
-- 
Eberhard Moenkeberg (emoenke at gwdg.de, em at kki.org)


More information about the rsync mailing list