Skip to content

Instantly share code, notes, and snippets.

@noblejasper
Created February 3, 2015 10:45
Show Gist options
  • Save noblejasper/82fd472e07edc013a3ae to your computer and use it in GitHub Desktop.
Save noblejasper/82fd472e07edc013a3ae to your computer and use it in GitHub Desktop.
ls -lした時に@(アットマーク)がパーミッションの所についた時にカレントディレクトリ以下をまとめて消すワンライナー ref: http://qiita.com/noblejasper/items/9f95dc09f82f0e6fe928
for f in `find . -name "*.*"` ; do for attr in `xattr $f` ; do xattr -d $attr $f ; done ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment