Skip to content

Instantly share code, notes, and snippets.

@nishinoshake
Last active May 29, 2016 04:29
Show Gist options
  • Save nishinoshake/add6ae40ad3b8d55a865 to your computer and use it in GitHub Desktop.
Save nishinoshake/add6ae40ad3b8d55a865 to your computer and use it in GitHub Desktop.
ファイルを検索して削除
grep
-v 一致したものを除外
xargs
標準入力をパラメータにわたす
find ./ -name *.css.map | grep -v node_module | xargs rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment