rsync 指令不複製時間戳記

大部分我用 rsync 指令都用下列選項:

$ rsync -avl --progress xxxx liho:/scratch/

不過有時候我想要不保留原本時間戳記就要用 “–no-times” 選項 或是縮寫 “–no-t”

$ rsync -a --no-times --progress xxxx liho:/scratch/

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.