/ Published in: Bash
the -u flag only lists items that are "unknown", -0 prepares the filenames for xargs.
xargs then runs "rm" on each of the listed files.
xargs then runs "rm" on each of the listed files.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
hg status -u -0 | xargs rm