Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Linux Ftp, Help with the mget command
Rio
post Jun 4 2003, 08:40 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 4-June 03
Member No.: 928



Perhaps I'm missing something simple, but I can't figure out how to transfer multiple files into the directory of my choice.

All examples I've found show something like mget *.*, or get filename /directory/newfilename, but nothing shows me how to transfer multiple files into a specific directory.

If anyone could help me out, I'd appreciate it. Thanks.
Go to the top of the page
 
+Quote Post
shuttleX
post Jun 4 2003, 11:49 PM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 4-June 03
Member No.: 929



if i understand you correctly

to move multiple files

mv * directory

will move all files from the current directory to the one specified.

cp * directory

will copy the files there.

Now you can do different combinations using the *.
one example is:

cp *ing directory

this copies ever file ending in "ing" to the directory

so the *.* will only transfer files that have a "." in them such as file.dat
in otherwords... no "." no transfer!
Go to the top of the page
 
+Quote Post
Rio
post Jun 5 2003, 08:41 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 4-June 03
Member No.: 928



Actually, I found what my problem was.

I needed to use the ! to execute commands on the local machine, except for 'cd' which is appearantly 'lcd' to change the directory on the local machine.

After I do this, I can do the mget *.* and it drops everything into the directory of my choosing.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2017 - 08:29 PM