|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
scp options for recursive copying
Hello:
I am trying to do a recursive scp copy and found a command embedded in a java app that is attempting to do just that. The command is "scp -d -t -r /mnt/mydir/". When I try this from the shell, it is sending back " scp: /mnt/mydir/: No such file or directory". A couple of questions here: 1) what are the -d and -t options? There is no mention of these in the man pages for scp. 2) Given the above command, how does scp know where to send the files, to what remote server? Please help if you have any idea. I basically just want to start at a given directory heirarchy and traverse it to the point where there are only files, and scp all of those files to a given remote box. Thanks in advance, MC |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Re: scp options for recursive copying
Quote:
Quote:
scp [[user@]host1:]file1 [...] [user@]host2:]file2 for example: scp -r mydir user@otherhost:/tmp |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Kernel boot options removed by fault, no boot options | cdt | Ubuntu | 3 | 09-09-2011 12:27 AM |
| Recursive FTP -- here at last. | Perderabo | Shell Programming and Scripting | 52 | 03-25-2009 12:15 PM |
| Recursive FTP | aslamg | UNIX for Dummies Questions & Answers | 1 | 03-08-2001 03:27 AM |
|
|