Y
Hacker News
new
|
ask
|
show
|
jobs
by
rav
452 days ago
I often run rm -rf as part of operations (for reasons), and my habit is to first run "sudo du -csh" on the paths to be deleted, check that the total size makes sense, and then up-arrow and replace "du -csh" with "rm -rf".
1 comments
mekster
452 days ago
Use trash-cli and additionally git commit the target if you’re nervous before deletion.
link