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

Uploaded Source

Built Distribution

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

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for findreplace-2018.6.19.0.tar.gz
Algorithm Hash digest
SHA256 5aea03b5579ca2e05a6087def2ec0c6d1fa00bba20764092c14e78c99d811a49
MD5 2c997c3b3a5706ebd1f1972ac799a78c
BLAKE2b-256 553b7271344cda243f1e22f6aef8837251e4f4f893b672030d6fff2aad70ac2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for findreplace-2018.6.19.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a45e7be89c00be9df829cc017ca203c88e3df8b45835e582aa19028772d0bf1f
MD5 d83c19519aeeb3bc61774584f4483f3e
BLAKE2b-256 93f435b94dbfff3e238094419609fe07331a6e275f4a0942d87a79f03ba3fcb5

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