Quantcast
Channel: User Matija Nalis - Super User
Viewing all articles
Browse latest Browse all 44

Comment by Matija Nalis on How to delete all files in a directory except some?

$
0
0
It would be better to use rmdir tmp in that last line instead of rm -r tmp -- that way, if previous command failed for any reason or was mistyped, you won't lose all your data.

Viewing all articles
Browse latest Browse all 44

Trending Articles