[Bug 2423] New: Feature Request: Ability to transfer files newer than date or file. (--newer switch).

samba-bugs at samba.org samba-bugs at samba.org
Mon Mar 7 12:43:36 GMT 2005


https://bugzilla.samba.org/show_bug.cgi?id=2423

           Summary: Feature Request: Ability to transfer files newer than
                    date or file. (--newer switch).
           Product: rsync
           Version: 2.6.3
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: hackeron at gmail.com
         QAContact: rsync-qa at samba.org


--newer [file|date]    transfer only files newer than file or date 
                       (e.g. rsync --newer "15/03/05 21:22:00" -a dir1 dir2)

That would really make my day when transferring daily cumulative sql changelogs
and not having to keep older ones.

E.G:
changelog-200502-09.sql 100Mb
changelog-200503-01.sql 100Mb
changelog-200503-02.sql 100Mb
changelog-200503-03.sql 56Mb (and growing)

The first 3 files were transferred, applied to the backup database and deleted.
The third file is then partially transferred until it reaches 100Mb. There's no
way however to just rsync files newer than changelog-03.sql (when they are
added), I also dont have the disk space to keep the tens of files.

The only solution I can find is to use --exclude, but pretty soon the list will
grow to hundreds of files and will be hard to maintain.

I would really appreciate a --newer switch.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list