Created
October 28, 2014 15:51
-
-
Save brimston3/c8a17ff6a6071ec72c1c to your computer and use it in GitHub Desktop.
Search for particular xattribute in files and directories.
This file contains hidden or 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
find . -exec zsh -c "getfattr -n 'user.taint' \"\$@\" 2>/dev/null | gawk 'BEGIN{fname=\"\";} /^#/{fname=gensub(/^[^:]*: /,\"\",1,\$0)} /^[^#]/{print fname \" :: \" \$0}'" {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment