标签:file
1、
#!/bin/bash myfile=/root/1316 cd $myfile for file in `ls $myfile` do a=`ls $file|wc -l` if [ $a == 0 ] #a=`ls $filke` #if [ -z $a ] then echo "kong $file " else echo "feikong $file " mv /root/1316/$file /root/1316/kong/ fi done
本文出自 “牧羊暗语” 博客,请务必保留此出处http://466716241.blog.51cto.com/1475798/1642106
标签:file
原文地址:http://466716241.blog.51cto.com/1475798/1642106