Tagged Questions
7
votes
3answers
248 views
How to remove only the content of directories?
I'm in a folder: /var/myfolder.
Inside there are some other folders like: /var/myfolder/A/ /var/myfolder/B/ `/var/myfolder/C/ etc.
Inside each there are some files with random names. How do I ...
1
vote
1answer
893 views
How do I remove a directory and all its subdirectories?
I'm trying to learn some directory navigagtion with bash and all I know is that
rmdir directoryname
will remove the directory but not if it's containing something. Is there a way to force it to ...