Copier is a tool for copying files from damaged disks at low speed. A timeout can be specified to give-up when the file is uncopiable. All copied files are logged with a status.
Copier has been tested on macOS and Windows.
- Golang 1.7.x,1.8.x
- Download it from releases page.
Quick mode
go get github.com/mdouchement/copier/cmd
or
- Install Go 1.7 or above
- Install Glide dependency manager
go get -u github.com/Masterminds/glide
- Clone this project
git clone https://github.com/mdouchement/copier
- Fetch dependencies
glide install
- Build the binary
go build -o copier *.go
- Install the compiled binary
mv copier /usr/bin/copier
copier -h
- Generate files list prior to edit it before launch the copy
copier list -o /tmp/tobecopied.txt ~/Documents
Unwanted line can be commented by adding a #
at the start of the line.
- Start the copy
copier copy --speed 1MBps --timeout 1m --from-list /tmp/tobecopied.txt ~/backup
Logging to /Users/mdouchement/backup/copier.log
File /Users/mdouchement/Documents/.DS_Store: already exist
File /Users/mdouchement/Documents/test.pdf
4.59 MB / 7.13 MB [===================================>----------] 86.81% 1017.16 KB/s 12s
MIT
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request