mkdir /tmp/dir1 /tmp/dir2 touch /tmp/dir1/1 /tmp/dir1/2 /tmp/dir2/1 /tmp/dir2/2 /tmp/dir2/3 /tmp/dir2/0 find /tmp/dir1 /tmp/dir2 -name 1 -or -name 0 -not -name 2 /tmp/dir1/1 /tmp/dir2/1 /tmp/dir2/0
它应该始终首先从dir1返回结果,然后是dir2,还是结果可以按顺序混合?
find /tmp/dir1 /tmp/dir2 .....
它将始终首先找到与/ tmp / dir1匹配的evrything,然后是/ tmp / dir2.
然而,子目录和文件当然可以按任何顺序出现.