long format's file+date+rights
How can I list in long format all files (located in 开发者_运维百科a directory ) which belong to me (rights) and modified more than 7 days?
Take a look at the "find" command, it has many options, including creation time, access time, modified time, and you can run commands on any files it finds etc.
Recursively find files of user "maalem", modified more than 7 days ago, list in long format
find . -type f -user maalem -mtime +7 -exec ls -ld {} +
find
will help you.
You just asked just a little bit earlier a similar question, maybe you should have closer look at the find man-page
精彩评论