LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Best way to ALOT of files in a direct to other direct? (https://www.linuxquestions.org/questions/linux-general-1/best-way-to-alot-of-files-in-a-direct-to-other-direct-33284/)

packman 10-20-2002 12:21 PM

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.. :o

Thanks:)

MasterC 10-20-2002 12:37 PM

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

The * is the catch all.

Cool

packman 10-21-2002 07:31 PM

ahhh yes *
I completely forgot about it.

thanks :)


All times are GMT -5. The time now is 03:25 PM.