Copy with rsync

rsync can be used for both local and remote file transfer.

Local rsync

This example will copy the file testfile to the /tmp folder. If the transfer is interrupted transfer will be resumed if command is applied again.

rsync -haP --append testfile /tmp/

-h output numbers in a human-readable format
-a archive mode; equals -rlptgoD
-P = --progres --partial
Where
--progress show progress during transfer
--partial keep partially transferred files