6 ms·
https://github.com/valvesoftware/steam-for-linux/issues/3671#issuecomment-70021818 https://github.com/valvesoftware/steam-for-linux/issues/3671... rm -rf "$STE
by sillysaurus3 11y ago
https://github.com/valvesoftware/steam-for-linux/issues/3671#issuecomment-70021818 https://github.com/valvesoftware/steam-for-linux/issues/3671...
rm -rf "$STEAMROOT/"*
When $STEAMROOT was empty, "steam apparently deleted everything owned by my user recursively from the root directory. Including my 3tb external drive I back everything up to that was mounted under /media."
- dTal 11y agoWow that is an annoying example. Aside from not following the Golden Rule of shell variables (always consider the unset case), why on Earth didn't they just write rm -rf "$STEAMROOT" ? The trailing slash and asterisk do nothing. Cargo-cult scripting. Ick.