4 ms·
rmdir is usefull when you want to remove all empty subdirs, without touching files or directories with files. Just do 'rmdir *' and you're done.
by Anarch157a 6y ago
rmdir is usefull when you want to remove all empty subdirs, without touching files or directories with files. Just do 'rmdir *' and you're done.
- account42 6y agoI like using rmdir even for individual directories that I think are empty just so that I don't accidentally delete any files that I did not expect to be there.