rsync -rptv /local/directory/ [EMAIL PROTECTED]::module/remotedirectory/
The root of the sync is "/local/directory" and files are referenced as "file1", "file2", etc...
However, the reverse is not true. This command:
rsync -rptv [EMAIL PROTECTED]::module/remotedirectory/ /local/directory/
will sync the files using "/local" as the root and files are referenced as "remotedirectory/file1", "remotedirectory/file2", etc. You can fix it with:
rsync -rptv [EMAIL PROTECTED]::module/remotedirectory/. /local/directory/
(notice the ".") which is not a big problem, but not expected.
What is the root cause behind this? Using rsync 2.5.7 on AIX 5.1.
-- Aaron W Morris <[EMAIL PROTECTED]> (decep)
-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html