uutils / findutils

Rust implementation of findutils
MIT License
280 stars 36 forks source link

find: The behavior of the parameter `-ctime` is inconsistent with the GNU manual description. #358

Open hanbings opened 2 months ago

hanbings commented 2 months ago

I found that the current interpretation of -ctime in the code is Created time, but the interpretation of -c in the GNU manual seems to be Status Changed.

The following is a piece of relevant code: https://github.com/uutils/findutils/blob/main/src/find/matchers/mod.rs#L412 Manual for the -ctime: https://www.gnu.org/software/findutils/manual/html_node/find_html/Age-Ranges.html#Age-Ranges