unix - find all file modify after specific date (Centos) -


i'm search command in unix find file modify after specific date:

if use command recive error :

 ls -lt $(find .) | grep '16 feb' | grep -o './[^\n]*'  -bash: /bin/ls: argument list long 

and if use command recive file sorted date.

 find /folder -type f -printf '%ty-%tm-%td %tt %p\n' | sort -r   2016-04-05 14:50:53.1730441170 /folder/a.txt  2016-04-05 14:46:56.3400447050 /folder/b.txt  2016-04-05 12:50:27.3930543890 /folder/c.txt  2016-04-05 12:49:47.0190544440 /folder/d.txt  2016-04-05 12:23:19.7660566060 /folder/e.txt 

there second code specific date?

you can modify second command , include grep @ end.

find /folder -type f -printf '%ty-%tm-%td %tt %p\n' |grep <date find>


Comments