Skip to content

amikeal/directory_merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

merge.py

A simple script to merge two directories, eliminating duplicate files, and renaming files with the same name but different content.

Usage

python merge.py [options]

Options

  -h, --help    Show this help file
  -k, --keep    The directory to keep
  -c, --clean   The directory to clean
  -v            Run verbosely

Example

merge.py --keep a --clean b

After execution, a will contain at least all its original files, plus any files from b which did not appear in a beforehand. b will be empty, all its files having been moved or deleted.

About

Simple script to merge directories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published