Bug 12601 - [feature request] support "newerXY" construct from findutils
Summary: [feature request] support "newerXY" construct from findutils
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-04 06:10 UTC by Chris Slycord
Modified: 2020-03-04 06:10 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Slycord 2020-03-04 06:10:50 UTC
Busybox has support for the "-newer" construct, which checks if a file's modification time is newer than another file's.

In findutils there's a "-newerXY" construct, with X and Y can be 'a' (last access), 'B' Birth time, 'c' (last change time), 'm' (last modification time), or t (timestamp); t being only the final argument and being for a literal timestamp. It's used as "-newerXY FILE" or "-newXt timestamp".

In gentoo, they regularly use this construct. For example, their package manager defaults to checking "-newercm FILE" (change and modification).

Similar functionality would be a welcome addition.