Rsync Only Latest Files on GNU/Linux

December 16, 2023 | By the+gnu+linux+evangelist.

GNU/Linux Rsync Only New Files – Quick-Start Guide

Hi! The Tutorial shows you Step-by-step How to Rsync Only the New or Latest Files in GNU/Linux.

And this Command Line Solution use the Time back to get the News Files before Syncing.

Featured
  1. Syncing Files

    Then to Rsync only the Latest Files
    The General Command for Today only entries is like:

    rsync --progress --files-from=<(find /[PATH2LOCALTDIR] -d -mtime -1;) / [URLREMOTETARGET]
    Where to get only the Latest Hour:
    rsync --progress --files-from=<(find /[PATH2LOCALTDIR] -d -mmin -60;) / [URLREMOTETARGET]
    Set [PATH2LOCALTDIR] and [URLREMOTETARGET] as needed.

QuickChic Theme • Powered by WordPress