This commit is contained in:
parent
27bcef2e63
commit
f21832937f
|
@ -88,7 +88,7 @@ while true; do
|
||||||
############# PUBLISH IPFSNODEID BALISE
|
############# PUBLISH IPFSNODEID BALISE
|
||||||
# Clean Empty Directory (inode dependancy BUG ??)
|
# Clean Empty Directory (inode dependancy BUG ??)
|
||||||
du -b ~/.zen/tmp/${IPFSNODEID} > /tmp/du
|
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
|
# Scan local cache
|
||||||
ls ~/.zen/tmp/${IPFSNODEID}/
|
ls ~/.zen/tmp/${IPFSNODEID}/
|
||||||
|
|
Loading…
Reference in New Issue