首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
shell-function 删除目录和文件
shell-function 删除目录和文件
mac
2022-06-30
25
function sDelDirFile() { if [ "$#" -eq 1 ];then if [ -e "$1" ];then rm "$1" -rf echo "delete:$1" else echo "no exist:$1" fi else echo "function sDelDirFile:argc must is 1" fi }
转载于:https://www.cnblogs.com/smallredness/p/11211522.html
转载请注明原文地址: https://mac.8miu.com/read-74911.html
最新回复
(
0
)