Moving entire directory tree using scripting
I have a directory locally that I need to move remotely. I want to move the entire local tree using scp, from a windows box to a linux fc6 box. I can do this using the gui by dragging and dropping. I tried the following script:
synchronize remote "C:\temp\download" "/home/ets/tmp"
When I checked the linux box, all the files were copied to /home/ets/tmp rather than preserving the tree. What I want to see is the directory called firmware under c:\temp\download copied to /home/ets/tmp.
I looked also at the put command but that seems to require I give it a file list rather than a directory.
Any suggestions how I can accomplish this?
synchronize remote "C:\temp\download" "/home/ets/tmp"
When I checked the linux box, all the files were copied to /home/ets/tmp rather than preserving the tree. What I want to see is the directory called firmware under c:\temp\download copied to /home/ets/tmp.
I looked also at the put command but that seems to require I give it a file list rather than a directory.
Any suggestions how I can accomplish this?