是否有一个工具,可以让我知道上一个新创建的文件?
使用分层文件系统的常用方法使得在不同的地方保存文件变得很困难,所以有时我会将文件排序到一般的主题文件夹中,有时会在直接相关的东西( f.e )的位置进行排序。与二进制文件目录中的某个工具相关的发布。
最好是一种工具,我可以问:
发布于 2014-09-04 15:22:23
支持此类操作的命令行工具是find:
find /path -iname '*.ext' # search for extension (don't forget the quotes)
find /path -mtime n # search for last modified `n*24h` ago
find /path -atime n # search for last accessed `n*24h` ago
find /path -newer ref # newer than ref
find /path -size +100M # larger than 100MB
find /path -perm 664 # example to search for files with a specific permission
find /path -type <t> # search for file `f`, directory `d`, symbolic link `l` ...为了了解文件类型的更多细节,我建议按照
find /path -type f -exec file '{}' \; | grep 'Vorbis audio'我不知道有一个像find那样有能力的工具(特别是GUI工具)。
https://unix.stackexchange.com/questions/153758
复制相似问题