Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rav
· 1y ago · 0 comments
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".
Comments
[–]
mekster
1y ago
Use trash-cli and additionally git commit the target if you’re nervous before deletion.