Is there a way to exclude all files, in all subfolders, and keep the folder structure?
Asked
Active
Viewed 110 times
1 Answers
2
I presume you want to delete them...
find -type f -delete
This will delete all files in the current folder and all subfolders but leave the directories intact.
Adrian
- 5,256