You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 31, 2021. It is now read-only.
Running prune.sh appears to delete all images/thumbnails, not just the oldest 10.
Reviewing the script, I can see where img_path gets set but not IMG_NAME. If IMG_NAME is not set, bash will treat it as a NULL string. Thus in the "find" statements ${IMG_NAME}*.jpg is treated as *.jpg and all images get selected and deleted.
The text was updated successfully, but these errors were encountered:
Running prune.sh appears to delete all images/thumbnails, not just the oldest 10.
Reviewing the script, I can see where img_path gets set but not IMG_NAME. If IMG_NAME is not set, bash will treat it as a NULL string. Thus in the "find" statements ${IMG_NAME}*.jpg is treated as *.jpg and all images get selected and deleted.
The text was updated successfully, but these errors were encountered: