On Sat, Jun 04, 2005 at 02:52:05PM -0500, Larry Alkoff wrote:
> How do I specify starting at the root directory?  Is // correct?

Just use / on its own (since it is a trailing slash).

> rsync -uacHv --exclude="lost+found mnt proc public sys tmp"  //  /mnt/backup

You should read the section on the --exclude option more carefully.
You'll want something more like this:

    --exclude=/lost+found --exclude=/mnt --exclude=/proc
    --exclude=/public --exclude=/sys --exclude=/tmp
    
(Your command only excludes one very strange filename.)  Alternately,
switch over to using --exclude-from=FILE with all the anchored names on
separate lines in the file.

..wayne..
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to