![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Directory inside directory problem | namishtiwari | Shell Programming and Scripting | 6 | 01-27-2008 01:07 AM |
| unable to create any directory that uses numbers as the directory name | fed.linuxgossip | UNIX for Advanced & Expert Users | 16 | 01-13-2008 05:54 PM |
| determining actual directory of a symlinked directory | chiru_h | Shell Programming and Scripting | 3 | 09-24-2007 04:40 PM |
| determine owner directory permissions from within the directory | Sniper Pixie | Shell Programming and Scripting | 4 | 03-07-2006 02:06 PM |
| moving files from a unix directory to a windows directory | gleads | UNIX for Dummies Questions & Answers | 2 | 08-29-2002 05:42 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
ftp a directory
How does one ftp an entire directory from one Solaris 5.9 machine to another with out moving one file at a time?
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
#3
|
|||
|
|||
|
Actually, if all you want to do is move all the files from one directory, you don't need the recursive part. Just use "mget *" or "mput *" depending on which direction you're trying to go. Although if you don't issue the "prompt" command first it will ask you to confirm each transfer, so you may want to do that before the mget.
So if you have a directory tree use the above advice and try the recursive script. But if it is just all the files in one single directory you want moved mget or mput is your answer. |
|
#4
|
|||
|
|||
|
I am trying to run mget as advised, and I keep getting the error "disk1 not a plain file". have prompt off, and am in binary mode.
|
|
#5
|
||||
|
||||
|
That means disk1 is a directory. If you need to move all the files within /disk1/* then you need to change directory to disk1 and then use the mget or mput. It will not get any directories.
Otherwise, use the program Perderabo was kind enough to write. |
||||
| Google The UNIX and Linux Forums |