3 ms·
The backup script's job is to back up all files, not crash fatally because someone used a dollar sign, a tilde, or a space, or `rm -rf` in a file name. The sysa
by Kwpolska 4y ago
The backup script's job is to back up all files, not crash fatally because someone used a dollar sign, a tilde, or a space, or `rm -rf` in a file name. The sysadmin’s job is to write robust tools, not expect users to understand arcane UNIX stuff.
- fbdab103 4y agoYou are right of course. Just my knee jerk reaction that if someone is deliberately creating such files, they know exactly how much peril they are creating for themselves. Owing to so many years on the terminal, I still hesitate to name files with a space - a practice which the uninitiated find odd.
- lmz 4y agoThis would be considered silly if a web dev said this about e.g. a script breaking because someone entered a single quote into a text field and it was interpolated directly into an SQL statement. We should not tolerate this from sysadmins either.