Merge directory contents, deduplicating files based on their content.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
contentcopy-1.0.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for contentcopy-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54d47e9d61af8666770d96a03deebab82a73d1cbba12c748bc4e4301a2d98669 |
|
MD5 | 34c6adfbdbce29c7f7b3ee90047ec43e |
|
BLAKE2b-256 | 48fa98260380c60605fc67a0217980bdbece79a4ca8d32ffcafc479665008f98 |