Conversation
Notices
-
what is the difference between rm and rmdir if you are removing a folder
Thursday, 10-Nov-16 23:22:34 UTC from web-
@mushi ?
Thursday, 10-Nov-16 23:22:41 UTC from web -
@mushi Nothing. I'm pretty sure rmdir is actually just a shortcut for rm -f
Thursday, 10-Nov-16 23:23:27 UTC from web-
@ceruleanspark alright, thanks
Thursday, 10-Nov-16 23:24:12 UTC from web -
@ceruleanspark @mushi There's a pretty significant difference.
'rmdir' will only removea single _empty_ folder.
'rm' will never remove a directory, unless using '-r' (recursive) which will delete the entire tree using the given path regardless of folder emptiness.-
@mmn oh, thanks ^^
Thursday, 10-Nov-16 23:37:36 UTC from web
-
-
-