specifying destination dir for a file ...
troszok at medialogic.it
troszok at medialogic.it
Fri Nov 8 08:46:00 EST 2002
Hello,
I have two machines, that have directories that needs
to be in sync ( for example ~/sync on localhsot and /tmp/sync
on remote). I would like to rsync one file from localhost
to remote but:
on localhost the file is ~/sync/dir/file.txt
and i would like to put it to exatcly this same dir
( /tmp/sync/dir/file.txt ).
Problem starts when 'dir' doesn't exists on the remote side.
Is there a way to force rsync to recreate needed directories ?
kind regards,
--
-[jakub troszok]-[troszok at medialogic.it]-
More information about the rsync
mailing list