試行失敗後に残ったファイルを保護する方法

試行失敗後に残ったファイルを保護する方法

あるドライブから別のドライブに大きなディレクトリをコピーしようとしています。終了する前に、誤ってログアウトしてファイルの80%程度しかコピーされませんでした。最初から始めずに残りのファイルをコピーする方法はありますか?

ベストアンサー1

頑張ります、

rsync -a /from/file /dest/file

--appendたとえば、他のオプションを使用できます-P (--partial --progress)。バラより人の同期より多くの情報を知りたいです。

または。cpcp -u

からman cp

-u, --update
     copy only when the SOURCE file is newer than the destination file or when the destination file is missing.

おすすめ記事