Re:Why did Turbo Pascal apps fail with a division-by-zero on...
by colejohnson66 on Saturday August 24, 2019 @05:23PM
(#20789798)
Is there a way to stop rm from running if there’s a space?
[ Parent
| on HN ]
Re:Why did Turbo Pascal apps fail with a division-by-zero on...
by semi-extrinsic on Saturday August 24, 2019 @06:12PM
(#20790053)
IIRC, zsh has an option such that if you type `rm -rf /folder` it will ask
Sure you want to delete /folder with 382 files? (Y/N)
This would at least give you a chance to spot that it was asking about the wrong file.