is it possible to list all the ".php" files located into a direcotry and their octal permissions?
I would like to list them like this:
775 /folder/file.php 644 /folder/asd/file2.php etc...
See also this related question: Convert ls -l output format to chmod format.
(Tested on OS/X 10.8.4 and Debian 7 but should work on any system that has any version of
This is tested on OS X 10.8.4. The sed pipe just cuts the first 3 characters off the output (filetype). Looks like OS X