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.19.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

findreplace-2018.6.19.1-py2.py3-none-any.whl (3.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for findreplace-2018.6.19.1.tar.gz
Algorithm Hash digest
SHA256 6fc64fb7ebf64b73289f235d1a0f39a4cb596160968cd4fe6bb06e56f7336656
MD5 adcc0a2819873c74561f059fa6ffb2f0
BLAKE2b-256 ac03d3d428b7ff78b8f943f5d233019046b783979b379ebefb8264392d49a43e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for findreplace-2018.6.19.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3c4e4332de6adf0e20261b140f5db3ee5f443a78bbeb9b9768113c0e7623c881
MD5 c1a981b831a626aef102befa51c841e4
BLAKE2b-256 11756c3fe7fdc0fcae206071bfee0e680e545c0350eda0548f6e9e126f716854

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