Skip to content

luispedro/mergedirs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Merge

Merge two directories without losing any content.

It often happens that I have multiple directories that I think are copies of each other, but don't simply want to erase one of them without checking. This small utility performs the necessary checks before removing the files.

Usage:

    mergedirs.py INPUT_DIR DEST_DIR

Main Flags

  • remove-only: Do not copy files, only remove duplicates
  • verbose: be verbose
  • ignore-flags: ignore file mode, mtime, &c

Use

mergedirs --help

for a full list

AUTHOR: Luis Pedro Coelho luis@luispedro.org

LICENSE: MIT

About

Merge two directories without losing files

Resources

Stars

Watchers

Forks

Packages

No packages published