Contentcopy
Contentcopy merges directory contents, deduplicating files based on their content.
If a file with differing contents but the same name is encountered, the copied filename will automatically have a number appended, making it easy to see duplicate filenames.
Usage
python3 contentcopy.py <source> <dest>
e.g.
python3 contentcopy.py old_pictures new_pictures
Will copy all pictures in old_pictures that are not yet in new_pictures to new_pictures. After this you can safely delete old_pictures without worrying about data loss.
Installation
pip install contentcopy
Release files for contentcopy 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| contentcopy-1.1.0.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| contentcopy-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.3 kB
Release files / contentcopy-1.1.0.tar.gz
| Download URL | contentcopy-1.1.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2dc8f4d4bf32bce9923ea80b4838f5d9973a2c24ea03463bc0b267310c9ad7e4
|
|
BLAKE2b-256 checksum How to use checksums |
70564088ff2a50c4b263882b0e726da0f7e39cbe45917a1830b681200cf4625d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / contentcopy-1.1.0-py3-none-any.whl
| Download URL | contentcopy-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb4977343ad07ed7754ac113f91a00ff89e1b3bc1a93364ec039c30ae9ef2837
|
|
BLAKE2b-256 checksum How to use checksums |
0034e7760844ef252eeb46ad56db91c850e8a818a4d2ae5cef1fae499f978820
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|