第一种:[root@usr001 ~]# find ./ -name "tet"|xargs -i mv {} /tmp
第二种:[root@usr001 ~]# mv `find /root/ -name ".tar"` /tmp/
第三种:[root@usr001 ~]# find ./ -name test.tar.gz -exec mv {} /tmp \;
find 与mv rm 的合用
猜你喜欢
转载自blog.51cto.com/12040328/2307143
今日推荐
周排行