Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 10-20-2002, 01:21 PM   #1
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..

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

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

The * is the catch all.

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

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



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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:35 PM.

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