I wanted to find some files that I downloaded in the last 5 days:
Basically the below command says find all files in the current directory and below with a changed time (-ctime) of less than 5 days from now.
[rupert@qad_server dtlive]$ find . -ctime -10 . ./TMP6934.02 ./TMP7226.01 ./cim40113.prn ./cim50113.prn ./.sh_history ./pitcmt1.txt ./error-init.log ./abin ./archive ./TMP6934.01 ./TMP7226.02
And now every less than 10 days old.
[rupert@qad_server dtlive]$ find . -ctime -10 . ./TMP6934.02 ./TMP7226.01 ./cim40113.prn ./cim50113.prn ./.sh_history ./pitcmt1.txt ./error-init.log ./abin ./archive ./TMP6934.01 ./TMP7226.02
0 Comments