#criteria #search #path #matching #permissions #parser #pemission

yanked rwxs

Search files matching pemission criteria

0.1.1 Apr 10, 2022
0.1.0 Apr 10, 2022

#4 in #criteria

MIT/Apache

27KB
631 lines

rwxs

GitHubRelease Buildstatus

rwxs is a macOS command line tool to search for file system items based on permission criteria.

Contents: UsageInstallationLicense

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 :

Dependencies

~7MB
~120K SLoC