hedera-web/utils/image-clean.sh

4 lines
95 B
Bash
Executable File

#!/bin/bash
find /mnt/storage/image/.trash/* -maxdepth 0 -type d -ctime +7 -exec rm -rf {} \;