linux - command for filtering files by permissions -


i need recursively search directory in linux(fedora core 12) , filter files based on permissions.

but using find -perm able filter files based on specific permissions. eg., files permissions 777 or 007.

is possible search wildcards using find -perm command?? e.g., list files read, write, execute permissions 'others'(root , group can have kind of permission).

also possible display count of list of files matched filter , not list of files itself??

thanks in advance.

is possible search wildcards using find -perm command?? e.g., list files read, write, execute permissions 'others'(root , group can have kind of permission).

yes, use -perm -007 minus before 007, set minimal condition.

also possible display count of list of files matched filter , not list of files itself??

command | wc -l 

instead of

command 

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -