Created
February 3, 2015 10:45
-
-
Save noblejasper/82fd472e07edc013a3ae to your computer and use it in GitHub Desktop.
ls -lした時に@(アットマーク)がパーミッションの所についた時にカレントディレクトリ以下をまとめて消すワンライナー ref: http://qiita.com/noblejasper/items/9f95dc09f82f0e6fe928
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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