so in linux, if I do this ls -alth
, then it display all files inside a folders with the date of last modifications. I want to display files that last modify on a particular date. How do I achieve that. So I try this
ls -alth | cut -f7 -d " " | grep 2011-07-02
so display every thing -> then pipe to a parser -> then pipe the result at field 7, which is the date, to grep
to filter down to the date that I want. Well the result is all
2011-07-02
2011-07-02
2011-07-02
...
I want to see the file name.
This is the answer
ls -alth | grep 2011-07-02