If you try to use rmdir -r
, which is often used on CentOS etc.
$ rmdir -r test/
rmdir: invalid option -- 'r'
Try 'rmdir --help' for more information.
I get angry if I don't have the option.
I settled down by deleting the contents of the folder → deleting the directory.
$ rm -r ./*
$ rmdir test/
Recommended Posts