new script to find read only files
[feisty_meow.git] / scripts / files / find_readonly.sh
1 #!/bin/bash
2
3 # locates read only files in the directories specified.
4 # this is a much simpler and more efficient command than some i've seen
5 # floating about; it gets the find command to do all the heavy lifting
6 # and doesn't try to build impossibly large command lines.
7
8 find "${@}" -follow -type f -perm -u+r -a ! -perm -u+w 
9