linux用来删除当前文件夹下所有文件的脚本



linux用来删除当前文件夹下所有文件的脚本
 
#!/bin/bash
#Written by:kobe73er
#Scriptname:deletefile
for file
do   www.2cto.com  
if [ -f $file ]
  then
  rm $file
  fi
done
调用方法  deletefile * 即可

相关内容

    暂无相关文章