Question

DO Spaces Dashboard - Directory date last modified not shown

We have a Digital Ocean Spaces bucket where we store Laravel backups. We create a directory project-backups. In there we have staging and production backups and in one of those we show backed up project name and inside we show the objects made for that project.

The issue is that the project name like project-290 does not show LastModified for the contents of that directory in the Spaces dashboard. Only the objects do. So we are forced to enter the directory to see if that project has had its backup made

Is there a way to show dates for created OR modified for these directories as we’ll?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

alexdo
Site Moderator
Site Moderator badge
December 13, 2022

Hey @jasper,

Great idea, sounds like it’d be super useful!

The best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.

https://ideas.digitalocean.com/

Hope that helps!

Reading https://stackoverflow.com/questions/32830423/how-do-i-get-the-last-modified-date-of-a-directory-in-amazon-s3 it seems these are objects that do not get a date modified

Since what we label as a directory is just part of the object name, there is no creation time, modify time, etc. since it does not really exist as an entity on its own

That is a shame as it would be nice to see the latest backup added to that object label. But not sure if this is possible another way then.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel