Skip to main content

Find and replace all instances of a string with a new string in a directory and all its sub-directories.

Project description

grepshift

grepshift renames files in powerful ways.

Usage:
    grepshift [options] <pattern> [<replacement>]

Options:
    -d, --directory=<directory>   Starting directory [default: .]
    -e, --extension=<extension>   Only process file with this extension
    -h, --help                    Show this help screen
    -l, --list                    Just list the files to be changed, no actual changes
    -r, --remove                  Removes the line, that matches pattern, from all files
    -v, --verbose                 Verbose Mode
    --version                     Prints the version

Installation

pip install grepshift

License

grepshift is freeware released under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grepshift-1.3.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

grepshift-1.3.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file grepshift-1.3.1.tar.gz.

File metadata

  • Download URL: grepshift-1.3.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Darwin/25.0.0

File hashes

Hashes for grepshift-1.3.1.tar.gz
Algorithm Hash digest
SHA256 4d88c28081373691af610a2da740e80e1d2454ac25a377497f74a873910a9abc
MD5 944652459fc9d150941216134c35276e
BLAKE2b-256 4f27d0558757fe6c965bb686f795ea6934adaa085fbfeccaab341da8e20e7c2b

See more details on using hashes here.

File details

Details for the file grepshift-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: grepshift-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Darwin/25.0.0

File hashes

Hashes for grepshift-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb588723149cd3ffc66a8de4e46f1f7c888d551f4efb59fdca231dcf7b09ecec
MD5 3fa3e94584edbd249a7e4746e36e831f
BLAKE2b-256 dd06386217e402c86ccda9eecc85a968808888be98365d2cf4897343f1e734b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page