我正在使用macOS Sierra。 我有1000多个包含大量文件的目录。 Word,Excel和压缩文件。只有一个子级别。重要提示:文件名和文件夹名称中有空格。 我们决定改变文件的树状结构;在与另一个目录树合并之前,需要将每个目录中的所有文件移动到名为“Word & Excel”的子目录中。 我设法创建Word的Excel &目录用这个命令: for dir in */; do mkdir --
I have a text file which has list of file names, I want to search these file names in a folder which has thousands of files and move the matching files to different location on linux.
有人可以帮助我执行此操作。