HOw can i move only the files without the directories from a folder in linux to another folder
using the mv command?
i have tried mv * ~/ but it coped everything including the directories. Please help
feedback
|
|
You can try
| |||
feedback
|
|
you can use find
| |||||||||||
feedback
|
|
I'm a "use a hammer for everything" kinda guy so I use bourne shell programs for stuff others use external programs for...
Some people like to get things done in as little typing as possible but I'm a pretty quick typist and I've got stuff like this built into my brain so it's not too much of a pain to do this instead of looking up the exact arguments to find and exec and all that. YMMV, though... | |||||||||
feedback
|
|
http://www.basicconfig.com/linux/mv - hope it'll help | |||
feedback
|