[rsync] include-from with different source points

Wayne Davison wayned at samba.org
Tue Jun 30 15:43:01 GMT 2009

On Mon, Jun 29, 2009 at 09:43:02AM -0400, GravyFace wrote:
> sudo rsync --progress -avz --include-from=/home/gravyface/backup.list
> / /mnt/usbbackup/localbackup/

If you drop the '*'s from the lines in the file and switch to using
--files-from, that should do what you were expecting.  You still need
to specify the "/" source because files-from files are all relative to
the source.


More information about the rsync mailing list