On Linux terminals, there is no graphic interface tool as useful as Windows Search, but the find command is indeed very powerful.
For example, you can use find/-name targetfilename to find a file by name. Alas, if you only know the name and the location, this is also a brutal and effective method.
The parameter-atime access time-ctime indicates the time when the status is changed-the time when the mtime is modified. Note that the time here is in 24 hours. After reading the man manual, you will be confused:-mtime N: Files data was last modified N * 24 hours ago. literally, it is the last modification of the file that occurred N 24 hours ago, but in fact
Find./-mtime 0: returns the file modified in the last 24 hours.
Find./-mtime 1: the first 48 ~ Files modified within 24 hours. Instead of files modified within 48 hours.
How can I return the modified files in the last 10 days? Find also supports expression relational operations, so we can add up data from the past few days day by day:
Find./-mtime 0-o-mtime 1-o-mtime 2 ...... Although it is relatively earthy, it is also a method.
There are still no better methods, I also want to know.
In addition, the-mmin parameter-Cmin/-Amin is similar.
Wanqi @ wanqi-system-product-Name :~ /Huiye_qrd_e8/7x27a-11302301 $ find./packages/apps/-name *. Java-mtime 2
./Packages/apps/filebrowser2/src/COM/Android/filebrowser/myfile. Java
./Packages/apps/filebrowser2/GEN/COM/Android/filebrowser/manifest. Java
./Packages/apps/filebrowser2/GEN/COM/Android/filebrowser/R. Java
./Packages/apps/settings/src/COM/Android/settings/multisimsettings/multisimmanager2.java
./Packages/apps/settings/src/COM/Android/settings/multisimsettings/multisimutil. Java
./Packages/apps/camera/src/COM/Android/camera/listpreference. Java
./Packages/apps/camera/src/COM/Android/camera/UI/preferenceadapter. Java
Wanqi @ wanqi-system-product-Name :~ /Huiye_qrd_e8/7x27a-11302301 $ find./packages/apps/-name *. Java-mtime 2
./Packages/apps/filebrowser2/src/COM/Android/filebrowser/myfile. Java
./Packages/apps/filebrowser2/GEN/COM/Android/filebrowser/manifest. Java
./Packages/apps/filebrowser2/GEN/COM/Android/filebrowser/R. Java