grep - Linux: how to display file within the same date -
so in linux, if ls -alth, display files inside folders date of last modifications. want display files last modify on particular date. how achieve that. try this
ls -alth | cut -f7 -d " " | grep 2011-07-02 so display every thing -> pipe parser -> pipe result @ field 7, date, grep filter down date want. result all
2011-07-02 2011-07-02 2011-07-02 ... i want see file name.
(i sitting on windows machine, command syntax memory)
you can use find this:
find /your/dir -maxdepth 1 -mtime 2011-07-02 -print0 | xargs -0 ls -lath
Comments
Post a Comment