Created
August 31, 2012 07:56
-
-
Save sheeplogh/3550039 to your computer and use it in GitHub Desktop.
[shell] List file-permissions in octal notation
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
$ find ./20120831_testdir -type f -print0 | xargs -0 stat --format='%a %N' | sed -e "s/[\`']//g" | |
755 ./20120831_testdir/2009032/httpdconf.pl | |
777 ./20120831_testdir/showmod.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment