tianyunperfect 3 년 전
부모
커밋
fe4f553c32
1개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 6
      sh-demo/rc/baserc.sh

+ 2 - 6
sh-demo/rc/baserc.sh

@@ -58,12 +58,8 @@ function ipremote() {
 
 # ====== 删除大文件
 function rmbigdir() {
-  mkdir -p /tmp/blank
-  rsync --delete-before -d /tmp/blank $1
-}
-function rmbigfile() {
-  touch /tmp/blankfile
-  rsync --delete-before -d --progess --stats /tmp/blankfile $1
+  mkdir -p /tmp/blank/
+  rsync --delete-before -d /tmp/blank/ $1
 }
 
 # ====== tart untart