瀏覽代碼

update script

ChesTeRcs 5 年之前
父節點
當前提交
d609d55a02
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      autoDeleterBelowSpace.sh

+ 1 - 0
autoDeleterBelowSpace.sh

@@ -34,6 +34,7 @@ then
     #
     ls -rt $DIR | while read FILE
     do
+        FILE="${DIR}/${FILE}"
         if [ -f $FILE ]
         then
             if rm -f $FILE