Newbie syntax question on --include-from option
Max Bowsher
maxb at ukf.net
Fri Feb 14 07:05:13 EST 2003
Loris Serena wrote:
> rsync -azv -e ssh --stats --include-from=rsynclist.txt host-one:
You've only got a source here, no destination.
> and rsynclist.txt looks like
>
> + /export/home/user1/dir1/dir2/dir3/
> + /export/home/user1/dir2/dir3/dir4/
> + /export/home/user1/dir3/dir4/dir5/
> + /export/home/user1/dir4/dir5/dir6/
> + /export/home/user1/dir5/dir6/dir7/
Remember that the default is to include. If you have no excludes, then
everything will be included anyway.
> Basically what I am looking to achieve is NOT to specify a directory
> after the semicolon after "host-one",
This...
> because I want to sync files from the
> source box
> EXACTLY to the same directory on the target box.
... won't do this. No directory = home directory, not root directory.
Max.
More information about the rsync
mailing list