using cp and rm
Well I can't seem to find what I am looking for anywhere. I figure you guys can help and its a n00b question for sure. Well when using cp how can I copy multiple files to the same directory? For example, say I want to take 6 different mp3s and move them from the current directory all to another directory. This question also goes for using rm when deleting things. How can I delete multiple files in the same command, say different files inside one directory? Thanks sooo much cuz this really puzzles me, I wonder if its possible? :)
|
Its really simple:
cp file1 file2 file3 mp3/ <command> name of the files separated by spaces and then the direcotry. |
Also, for moving mp3's u need this command: -
mv (move) not cp (copy) |
Well thanks for the help I wasn't sure if that would work. Sorry about the clarfication, I meant to copy the files instead of saying move. Thanks for the help again though! Ok so how about using rm to remove multiple files is it the same?
|
Yeah man...no problem. rm is the same
|
Sweet I guess my n00b is showing lol :) Well I guess I should have tried that but just didnt bother cause didn't know. Anywho thanks again!
|
All times are GMT -5. The time now is 06:01 AM. |