mv忽略文件的语法如下: mv !(child1|child2) child1 原文:https://stackoverflow.com/questions/4612157/how-to-use-mv-command-to-move-files-except-those-in-a-specific-directory/18143395#18143395