Dear All 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. Thanks in advance, Paul
Hi, On Fri, 31 Dec 2004, Paul Smith 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. Cheers -e -- Eberhard Moenkeberg (emoenke@gwdg.de, em@kki.org)
On Fri, 31 Dec 2004 23:49:28 +0100 (CET), Eberhard Moenkeberg <emoenke@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. Paul
Hi, On Fri, 31 Dec 2004, Paul Smith wrote:> On Fri, 31 Dec 2004 23:49:28 +0100 (CET), Eberhard Moenkeberg <emoenke@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@gwdg.de, em@kki.org)
On Sat, 1 Jan 2005 00:16:01 +0100 (CET), Eberhard Moenkeberg <emoenke@gwdg.de> wrote:> > > 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".Thanks, Eberhard. Paul