Mayuran Yogarajah wrote:

Im trying the following command: rsync -ae ssh host.com:/creative/37295/7/file1.jpg /creative

rsync fails saying 'no such file or directory' because the
directories /creative/37295 and consequently /creative/37295/7
do not exist.  What Im wondering is, is it possible to have
rsyc make those directories? I want to be able to run that
rsync command and have rsync create the necessary directories
and put the file there.

Thanks



"rsync -aRe ssh host.com:/creative/37295/7/file1.jpg /" might do what you want. Your current command should be copying the file to the /creative/ directory (not the subdirectories) because you have not specified rsync to use relative paths (-R).


Someone correct me if I am wrong.

--
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

Reply via email to