diffcopy

Crates.iodiffcopy
lib.rsdiffcopy
version0.1.1
sourcesrc
created_at2024-02-19 16:21:41.785865
updated_at2024-02-27 16:38:23.771613
descriptionCopy modified files from sub directories into one target directory.
homepage
repository
max_upload_size
id1145453
size15,225
(Twistleton)

documentation

README

diffcopy

Copy modified files from sub directories into one target directory.

diffcopy checks which files have changed in a directory including its subdirectories based on the file name, file size and modification date.

These files are then copied to a target directory while retaining the original modification date.

If a file with the same name is stored in two or more directories, the file with the highest modification timestamp is copied.

./diffcopy test_data/input /test_data/output txt,dxf

test_data
├── input
│   ├── 2022
│   │   └── foo.txt
│   └── 2023
│       ├── another
│       │   └── baz.txt
│       └── bar.txt
└── output
    ├── bar.txt
    ├── baz.txt
    └── foo.txt
Commit count: 0

cargo fmt