3 ms·
What if you somehow wound up with a single line of / in the MANIFEST, though?
by Zikes 12y ago
What if you somehow wound up with a single line of / in the MANIFEST, though?
- Hello71 12y agorm: cannot remove ‘/’: Is a directory
- colanderman 12y ago"rm -df /" does nothing. "rm -df" does not remove non-empty directories.
- Zikes 12y agoThat's awesome, I didn't catch the s/r/d/.
- colanderman 12y agoThat's because I ninja'd the -d in after ;) also just ninja'd in a -- to prevent stray options. Note also that putting a "*" in the MANIFEST doesn't do anything either, as neither xargs nor rm expands wildcards (only bash does).