cdn-api / read_storage.py
spmoisa548's picture
Update read_storage.py
0211e76 verified
raw
history blame contribute delete
301 Bytes
import os
for base in ["/data", "/app", "/home", "/tmp", "/"]:
print(f"\n=== CHECK {base} ===")
try:
for root, dirs, files in os.walk(base):
for name in files[:5]:
print(os.path.join(root, name))
break
except:
print("cannot access")