Here's the problem I'm attempting to solve:
- Let's say I have a directory "A", containing some files as well as some other directories.
- I want to copy all the files directly under directory A to directory B.
- I want to recursively copy all the folders inside folder A to folder C.
What is the shortest and less platform-specific way to accomplish this in UNIX/Linux?
-name '*'
? – enzotib Mar 04 '12 at 08:38find ... \;
for less platform specific. – forcefsck Mar 04 '12 at 09:09