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.0.tar.gz (2.6 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.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: grepshift-1.3.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.7 Darwin/24.6.0

File hashes

Hashes for grepshift-1.3.0.tar.gz
Algorithm Hash digest
SHA256 b7ed81defd3b047e18a140cd40dc6a034baffc34868df5d8aa29b2a584c70c72
MD5 52942203f7cf389537203e3e5081a96e
BLAKE2b-256 5a1dd5c06d7d20d15fc9ce216d7bdad66a172a50289904c0942803d032489b73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: grepshift-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.7 Darwin/24.6.0

File hashes

Hashes for grepshift-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37be81cdd66034cd8f1b9572c6accf577c2881950555ade445dd5199b2312eed
MD5 4ae5d6d51e6b9fe556d84e613903b4ef
BLAKE2b-256 45f39dee80eaaa0e4d1eae587cbefdc0fd33972585088306ec860be0eea3c5c1

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