LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 12: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, 12:37 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

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

The * is the catch all.

Cool
 
Old 10-21-2002, 07: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



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 10:09 PM
Recover deleted files on CDUDF (Direct CD) Vincent_Vega Linux - General 2 12-29-2004 11:08 PM
Can someone direct me please. DarkGhost Linux - General 5 09-03-2002 11:57 PM
How do I direct Gzipped files from a floppy to a folder? duncan36 Linux - Newbie 3 02-11-2002 09:32 PM
Direct PC SkYzOpReNiCk Linux - General 0 07-02-2001 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:56 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
Open Source Consulting | Domain Registration