Usage question for source at /

Larry Alkoff labradley at mindspring.com
Sat Jun 4 19:52:05 GMT 2005


I wish to rsync an entire Linux tree to another partition for backup
while excluding certain directories.

/home /var and /usr/local are mounted on separate partitions.

How do I specify starting at the root directory?  Is // correct?

The USAGE section of man rsync and some googling suggest I need a 
trailing / for the source path.  Is the line below correct?

rsync -uacHv --exclude="lost+found mnt proc public sys tmp"  //  /mnt/backup
(Above single line split into two by the Thunderbird)

Larry

-- 
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Slackware Linux


More information about the rsync mailing list