An open API service indexing awesome lists of open source software.

https://github.com/luispedro/mergedirs

Merge two directories without losing files
https://github.com/luispedro/mergedirs

Last synced: 9 months ago
JSON representation

Merge two directories without losing files

Awesome Lists containing this project

README

          

# Mergedirs

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:

```bash
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

```bash
mergedirs --help
```

for a full list

_AUTHOR_: Luis Pedro Coelho [luis@luispedro.org](mailto:luis@luispedro.org)

_LICENSE_: MIT