At work I'm trying to transfer a directory, and all its sub-directories and their contents, to another FTP server via SSH. I'm using Cent OS Server 4.4. I can 'put' a single file, but can't figure out how to do everything at once, which I need to do.
Well you could tar the directory.
You could also setup a script.
I usually use 'scp -r'
I don't think 'put' for ssh comes with a recursive option but consort your local 'man'uals
Well, that is a good idea.. zipping everything and transferring one file will be great.. I hope that because of the huge file it will not get timed out or something
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks