This commit is contained in:
fred 2023-03-15 05:42:13 +01:00
parent 27bcef2e63
commit f21832937f
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ while true; do
############# PUBLISH IPFSNODEID BALISE
# Clean Empty Directory (inode dependancy BUG ??)
du -b ~/.zen/tmp/${IPFSNODEID} > /tmp/du
while read branch; do [[ $branch =~ "4096" ]] && rmdir $(echo $branch | cut -f 2 -d ' '); done < /tmp/du
while read branch; do [[ $branch =~ "4096" ]] && rm -Rf $(echo $branch | cut -f 2 -d ' '); done < /tmp/du
# Scan local cache
ls ~/.zen/tmp/${IPFSNODEID}/