Skip to main content

Go through a directory recursively, find and replace specified values in file names and file data.

Project description


# findreplace

Go through a directory recursively, find and replace specified values in file names and file data.

```python
pipenv install findreplace
```

example

```python
findreplace replace ~/git/findreplace/testdir '{{example}}' main

from findreplace.core import findreplace
base_dir='~/git/findreplace/testdir'
find_replace_dict = {'{{example}}': 'main', '{{dog}}': 'test'}
findreplace(base_dir=base_dir, find_replace_dict=find_replace_dict)
```


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

findreplace-2018.6.24.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

findreplace-2018.6.24.0-py2.py3-none-any.whl (3.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file findreplace-2018.6.24.0.tar.gz.

File metadata

File hashes

Hashes for findreplace-2018.6.24.0.tar.gz
Algorithm Hash digest
SHA256 88278fc248d8331d09b6de1f69df77deeef1f9faec91839cc50a7e1f43cfb6da
MD5 6c7864c696c708466a75da3b3cf600db
BLAKE2b-256 fbb45501b2269a2cc86b0a19440ff2abc7d6b80fd324ddbfeb175640d56238b7

See more details on using hashes here.

File details

Details for the file findreplace-2018.6.24.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for findreplace-2018.6.24.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8e7ea6562e953bdf3d26a993ea4825e2c67bd1ca05706f38a2c20b9a4a8cf288
MD5 61630872f632b1dafc34be0a8235d525
BLAKE2b-256 4afd05ee48609a66797f1e21d7e08f0563a2900b163649edb789ef90b8538978

See more details on using hashes here.

Supported by

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