• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Delete in-active images in ubuntu

starkinternet

Chevereto Member
Hello you guys,

I would like to save some bucks by removing in-active images in /images/ folder

Do you know how to do it ? I can't wait to have this feature in v3.0, currently i am using older version ( 2.x )

Thank you,

P
 
Basically you need to run a bash script or something like that to detect files not being accessed then delete those records in the database.
 
Command stat will show you dates od access.

Code:
stat 1orTB.jpg
  File: ‘1orTB.jpg’
  Size: 67137        Blocks: 136        IO Block: 4096  regular file
Device: ca05h/51717d    Inode: 25435957    Links: 1
Access: (0775/-rwxrwxr-x)  Uid: ( 1001/    user)  Gid: (  33/www-data)
Access: 2014-05-20 09:31:16.556811685 +0200
Modify: 2014-04-07 16:03:34.000000000 +0200
Change: 2014-04-13 04:01:58.994608911 +0200
 
Back
Top