I always forget which file I edit a minute ago, so I typed find . -cmin 1 find . -cmin 1 or some other value, but it worked for exactly 1 minute. I had to try find . -ctime 2 /*or 3,4...*/ find . -ctime 2 /*or 3,4...*/ .
Then I find another approach that is better:
touch -t 12251134 empty find . -newer empty
I can use date -d'-5minutes' +%m%d%H%M to determine the time for me. I want to know if there is an easy way to find the files available 1, 2 or 3 ... minutes ago.
linux unix bash shell find
yuan Dec 25 2018-12-12T00: 00Z
source share