我有一个文件夹中的文件,例如
file_2017-01-01.jpg
file_2017-02-20.jpg
file_2017-05-10.jpg
file_2017-09-01-jpg
file_2017-10-25.jpg
file_2017-11-04.jpg
file_2017-12-22.jpg
如何使用 find 命令列出从file_2017-01*
to的文件file_2017-10*
?
find . -regextype posix-awk -regex ".*2017-[01-10]*"
不起作用。
也没有,find . -maxdepth 1 -type f -name "*2017-[01-10]*"