LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 10-20-2002, 01:21 PM   #1
packman
LQ Newbie
 
Registered: Oct 2002
Posts: 21

Rep: Reputation: 15
Question Best way to ALOT of files in a direct to other direct?


I'm wondering what the best way to move alot of files in a directory to the other without using mv one file at a time is.... For example I was trying to move 20+ files in one directory to the other. I didn't want to move the directory itself for that directory is used in some program as storage destination set by root, so I had to mv one by one. It was done but was kind of annoying. Is there any way to move all files in a directory to the other in one command like or two?? heh sorry if I'm asking impossible demand..

Thanks
 
Old 10-20-2002, 01:37 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sure:
mv /path/to/files/* /path/to/the/place/to/put/them/

The * is the catch all.

Cool
 
Old 10-21-2002, 08:31 PM   #3
packman
LQ Newbie
 
Registered: Oct 2002
Posts: 21

Original Poster
Rep: Reputation: 15
ahhh yes *
I completely forgot about it.

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache/php4 - disabling direct viewing of text files Paiway Linux - Networking 1 02-21-2005 11:09 PM
Recover deleted files on CDUDF (Direct CD) Vincent_Vega Linux - General 2 12-30-2004 12:08 AM
Can someone direct me please. DarkGhost Linux - General 5 09-04-2002 12:57 AM
How do I direct Gzipped files from a floppy to a folder? duncan36 Linux - Newbie 3 02-11-2002 10:32 PM
Direct PC SkYzOpReNiCk Linux - General 0 07-02-2001 03:58 PM


All times are GMT -5. The time now is 03:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration