Example:
rsync /tmp/fol1/fol2/fol3/foln user@addr:/tmp/fol1/fol2/fol3/foln
My main problem is folder /tmp/fol1 doesn't exist on remote machine.
Which arguments can I use to force rsync to create this tree?
question from:https://stackoverflow.com/questions/9242135/how-to-force-rsync-to-create-destination-folder