#command-line #search #file #directory

app rcrawl

A command line program which recursively searches for a named file or directory

13 stable releases

1.2.1 Oct 10, 2021
1.2.0 Dec 1, 2020
1.1.7 Nov 23, 2020
1.1.5 Jul 25, 2020
1.1.2 Jun 25, 2020

#1468 in Command line utilities

Download history 20/week @ 2021-10-05 39/week @ 2021-10-12 2/week @ 2021-10-26 4/week @ 2021-11-02 16/week @ 2021-11-09 28/week @ 2021-11-16 28/week @ 2021-11-23 21/week @ 2021-11-30 23/week @ 2021-12-07 10/week @ 2021-12-14 26/week @ 2021-12-21 20/week @ 2021-12-28 41/week @ 2022-01-04 20/week @ 2022-01-11 9/week @ 2022-01-18

97 downloads per month

GPL-3.0-or-later

13KB
255 lines

rcrawl 1.2.1

Searches for a given file or directory using multiple threads and prints its path to stdout.

Usage:

rcrawl [FLAGS] [OPTIONS] <root_directory> <filename>

Flags:

  • -a, --all

    A flag indicating wether to search all files including hidden files

  • -h, --help

    Prints help information

  • -R, --regex

    A flag indicating wether the search expression is a regular expression

  • -r, --relative

    A flag indicating that relative rather than full files paths should be returned

  • -s, --single

    A flag indicating only the first found item should be output (equivalent to --max_items 1)

  • -V, --version

    Prints version information

  • -v, --verbose

    A flag indicating wether to print verbose information

Options:

  • -d, --max_depth <max_depth>

    The maximum depth to recursively search to

  • -i, --max_items <max_items>

    The maximum number of results to return

  • -t, --threads <threads>

    The number of threads to use to search for

Args:

  • <root_directory>

    The name of the root directory to start searching from

  • <filename>

    The name of the file/directory to search for

Author: Rafi Levy

Dependencies

~2.5MB
~54K SLoC