Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果它是单个目录,我可以使用诸如{yyyymmdd..kkkkkkkk}选择范围内的那些技巧。
{yyyymmdd..kkkkkkkk}
但是现在日期信息包含在三个目录中,
是否有任何高级 bash 技巧可以最方便地完成这项工作?
ls -d1 */*/* | awk '$1>="yyyy/mm/dd" && $1<="yyyy/mm/dd"'