2 ms·
Another alternative is to not use 'rm' day-to-day to delete files. Alias "del" to "rm -i" and force the habit of using "del" to delete. You will then be promp
by pwg 9y ago
Another alternative is to not use 'rm' day-to-day to delete files. Alias "del" to "rm -i" and force the habit of using "del" to delete. You will then be prompted per file (allowing you to avoid deleting those you don't want to delete). Then reserve use of raw 'rm' for only those times when you really mean to delete a file without prompting (and therefore, have hopefully thought about if you really want to delete these files for good).