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.
我正在使用它来列出所有 .pdf 文件:
find . -type f -iname '*.pdf'
我想补充一点,只列出 2008 年之后创建的那些 .pdf 文件。有没有办法用 find 或更好的方法来做到这一点?谢谢!
tmp=$(mktemp /tmp/time-XXXXXXXX) touch -t 200801010000 "$tmp" find . -type f -iname '*.pdf' -newer "$tmp" rm "$tmp"