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.
我有多个包含文件的文件夹。我想要一个文件夹中的所有文件。我该怎么做呢?我尝试了 mv *(extension) /path to current folder 但 mv 不查看文件夹。
find . -name *.ext -type f -exec mv '{}' folder/. \;