0.1.1 |
|
---|---|
0.1.0 |
|
#4 in #criteria
27KB
631 lines
rwxs
rwxs is a macOS command line tool to search for file system items based on permission criteria.
Contents: Usage — Installation — License
Usage
rwxs 0.1.0
Scan a directory for files that match permission criteria.
Visit https://github.com/gmnsii/rwxs#readme for more information.
USAGE:
rwxs [FLAGS] [OPTIONS] [--] [path]
FLAGS:
-a Parse hidden files as well
-h, --help Prints help information
-i Return the list of files that don't match with the criteria
-m Return files that match at least one criteria, instead of those that match all criteria
-r If present, rwxs will recursively traverse the folder
-V, --version Prints version information
OPTIONS:
--group <group>... Specify permissions that the group who owns the file or directory needs to have on the
item in the format @rwx
-I, --ignore <ignore>... Ignore pattern
--type <item-type>... Specify the type of the object
--other <other>... Specify permissions that users who does not own the file or directory needs to have on
the item in the format @rwx
--owner <owner>... Specify the owner of the file in the format user:group
--user <user>... Specify permissions that the user who owns the file or directory needs to have on the
item in the format @rwx
ARGS:
<path> The path of the directory your want to look into. [default: ./]
Installation
brew tap gmnsii/rwxs
brew install rwxs
License
This project is licensed under both :
- The Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- The MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Dependencies
~7MB
~120K SLoC