I'm trying to replace my cp function by an rsync function My cp function is the following
find /home/odroid/USBHD/Movies/ -iname "*.mkv" -mtime '-1' -exec cp -n {} /home/odroid/NASVD/Movies \; do you guys have any idea how to do this(note the mtime can also be replaced by --ignore-existing
rsyncwithfind.cp -nbyrsyncwith the right options, or do you want to replace the whole command line? When you say “the mtime can also be replaced by --ignore-existing”, do you mean that copying all files but ignoring already-existing files would be ok, in which case, why isn'trsync -a --ignore-existing /home/odroid/USBHD/Movies/ /home/odroid/NASVD/Movies/ok?