cp with progress / verify

  rsync -ah --progress source-file destination-file

**주의: dest를 폴더명으로 지정하지 않도록 하기

ref: https://askubuntu.com/questions/17275/how-to-show-the-transfer-progress-and-speed-when-copying-files-with-cp


verfication:

diff -rq --no-dereference /path/to/old/drive/ /path/to/new/drive/

ref: https://unix.stackexchange.com/questions/313089/verifying-a-large-directory-after-copy-from-one-hard-drive-to-another


To remote server:
rsync -avz -e ssh SOURCE USERNAME@IPADDRESS:TARGET

댓글

이 블로그의 인기 게시물

sklearn tsne + matplotlib scatter

Implementation of Focal Loss using Pytorch