[LU-12027] Allow "lfs find" atime/mtime/ctime with fine-grained values Created: 27/Feb/19 Updated: 02/Mar/20 Resolved: 30/Apr/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.13.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | Andreas Dilger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
The normal find command can only specify time arguments in terms of whole days. The MacOS find(1) man page reports the use of unit suffixes to give greater control over the time range, such as "1h" or "1d4h": If units are specified, this primary evaluates to true if the
difference between the file last access time and the time find
was started is n units. Possible time units are as follows:
s second
m minute (60 seconds)
h hour (60 minutes)
d day (24 hours)
w week (7 days)
y year (365 days)
|
| Comments |
| Comment by Gerrit Updater [ 03/Mar/19 ] |
|
Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34367 |
| Comment by Gerrit Updater [ 13/Apr/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34367/ |
| Comment by Peter Jones [ 13/Apr/19 ] |
|
Landed for 2.13 |
| Comment by Gerrit Updater [ 14/Apr/19 ] |
|
Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34658 |
| Comment by Peter Jones [ 15/Apr/19 ] |
|
Looks like there is more work to track |
| Comment by Gerrit Updater [ 30/Apr/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34658/ |
| Comment by Peter Jones [ 30/Apr/19 ] |
|
Landed for 2.13 |