通过上次编辑日期列表文件 [英] List files by last edited date
本文介绍了通过上次编辑日期列表文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
让我们说我有一个像目录 /家庭/用户/
。
Let's say I have a directory like /home/user/
.
我怎么能列出每个文件(即使在子目录)的文件夹下,治安他们通过他们上次编辑的日期?
How can I to list EVERY file (even in sub directories) under that folder, and order them by the date they were last edited?
推荐答案
您可以使用:
$ ls -Rt
其中, -R
手段的递归的(包含子目录)和 -t
办法排序最后修改日期。
where -R
means recursive (include subdirectories) and -t
means "sort by last modification date".
这篇关于通过上次编辑日期列表文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文