[操作疑難] 有無人可幫手看下ubuntu 16.04 點install crcsum? thx

在windows, 我copy/move file 都會用 teracopy,
因試過copy/move 到一半 halt 左, 之後 file corrupt etc.


linux... 無teracopy.

不過有呢個 crcsum.

但係我 download  完,

make 唔到.

看下有無同好可以幫下手,

thanks.

https://sourceforge.net/projects/crcsum/

回覆 1# hhstacy

Maybe you want to use rsync instead?

TOP

提示: 作者被禁止或刪除 內容自動屏蔽

TOP

回覆 3# sydneyed


    I think what he wanted to do was to copy/move files with verification after the process, so I suggested rsync (which always does post-copy verification according to the man page.)

TOP

本帖最後由 daitau 於 2017-1-16 13:20 編輯

By the way, I just tried to compile this out of curiosity, and found that for version of header files that have attribute that complains about unused result, you would need to change line 554-555 in src/crcsum.c from:
  1. getcwd(path, PATH_MAX);
  2. printf("%s/%s: Remove CRC failed\n", path, filename);
複製代碼
to something like:
  1. if(!getcwd(path, PATH_MAX)) {
  2.   printf("Cannot getcwd\n");
  3. } else {
  4.   printf("%s/%s: Remove CRC failed\n", path, filename);
  5. }
複製代碼

TOP

提示: 作者被禁止或刪除 內容自動屏蔽

TOP

回覆 6# sydneyed


    Yes, sorry for not being clear about it.

TOP

相關文章