Skip to content

Instantly share code, notes, and snippets.

@ericchen
Created April 18, 2015 09:42
Show Gist options
  • Save ericchen/9cec2e16f2970d8de749 to your computer and use it in GitHub Desktop.
Save ericchen/9cec2e16f2970d8de749 to your computer and use it in GitHub Desktop.
xargs remove file with special name on mac
ls | grep 发货 | tr '\n' '\0' | xargs -0 rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment