< Day Day Up > |
16.11.1 ProblemYou want to be able to specify filepaths, instead of dumping everything into a single directory. 16.11.2 SolutionUse the -R option: $ rsync -aR -e ssh /webfiles/site1 stinkpad.test.net:/www/public This creates /www/public/webfiles/site1, instead of /www/public/site1. 16.11.3 DiscussionThis is especially useful when you are transferring several directories and want to maintain separate filepaths for each one. 16.11.4 See Also
|
< Day Day Up > |