2023-09-29 20:30:32 +08:00
2023-09-22 13:50:57 +08:00
2022-09-08 01:18:46 +08:00
2023-09-28 01:38:14 +08:00
2023-09-28 01:38:14 +08:00
2023-05-07 16:19:11 +08:00
2023-09-29 20:30:32 +08:00
2023-09-29 20:30:32 +08:00
2022-12-13 10:58:16 +08:00
2022-12-07 19:50:48 +08:00
2023-09-22 13:50:57 +08:00
2023-05-07 16:19:11 +08:00
2023-05-16 21:32:01 +08:00
2023-09-27 18:12:14 +08:00
2022-09-07 17:00:21 +08:00
2022-12-07 19:50:48 +08:00
2023-05-07 16:19:11 +08:00
2023-05-07 16:19:11 +08:00
2022-12-07 19:50:48 +08:00
2023-09-22 13:50:57 +08:00
2022-09-14 12:19:32 +08:00
2022-12-13 18:02:22 +08:00
2022-12-13 18:02:22 +08:00
2022-12-07 19:50:48 +08:00

acp

An Advanced Copy Tools, with following extra features:

  • Process bar
  • Sorted copy order, to improve tape device read performance
  • Multi target path, read once write many
  • Read file with mmap, with small file prefetch hint
  • JSON format job report
  • Can use as a golang library

Install

# Install acp
go install github.com/samuelncui/acp/cmd/acp

Usage

Usage of acp:
  -n    do not overwrite exist file
  -notarget
        do not have target, use as dir index tool
  -report string
        json report storage path
  -target value
        use target flag to give multi target path

Example

# copy `example` dir to `target` dir
acp example target/

# copy `example` dir to `target` dir, and output a report to `report.json`
acp -report report.json example target/

# copy `example` dir to `target1` and `target2` dir
acp example -target target1 -target target2

# do not copy, just get a dir index, write to `report.json`
acp example -notarget -report report.json
Description
No description provided
Readme BSD-2-Clause 141 KiB
Languages
Go 100%