• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

existing files

Rsync only new files

September 9, 2019

Here’s how to sync files between two directories, while copying only new files and ignoring existing files.

rsync --ignore-existing -rapzvh /dir1 /dir2 >> /root/rsync.log &

rsync --ignore-existing -rapzvh /dir1 /dir2 >> /root/rsync.log &

Filed Under: Linux Tagged With: existing files, ignore, linux, rsync

  • Home
  • About
  • Archives

Copyright © 2023