Is there a command to remove all files and subdirectories in a directory without deleting the directory?
For example if I have directory dontDeleteMe
with subdirectories 1
, 2
, 3
and each subdirectory has a few pictures in it, how can I remove the subdirectories 1
, 2
, and 3
and all the files in the them, without removing the parent directory dontDeleteMe
?