mv 时报错

1:mv时报错

报错

mv: preserving permissions for

 解决:(加上-i)

if [ `ls /Data/billing/upload/|wc -l` -lt "15000" ];then ls /home/fromcf/*.tgz |head -n5 >/Data/billing/list ; for i in `cat /Data/billing/list`; do mv -i $i /Data/billing/;done fi

 

你可能感兴趣的:(报错)