• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • 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