diffcopy 0.1.1

Copy modified files from sub directories into one target directory.
Documentation
  • Coverage
  • 0%
    0 out of 8 items documented0 out of 4 items with examples
  • Size
  • Source code size: 14.75 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 331.27 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Twistleton

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