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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


--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.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to