I have a directory containing lots of files and lots of empty directories. I want to keep the files but remove the directories. How can I achieve this using
rm and other standard unix tools?
Something along the lines:
I believe the
This handles the case of file names with "strange" characters (but it seems