56
What's the oldest thing in your downloads directory and how old is it?
(programming.dev)
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
Looking for support?
Looking for a community?
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
Ooh this is a good idea! Because when you extract a file you just downloaded the original creation/modification dates are preserved. So when you extract some tarball the directory my be from several years ago so you can't rely on file modification times to see when you downloaded any given thing.
I think I'm going to start doing the date directory thing! I'll start by writing a bash script that runs in a systemd timer that automatically creates a directory whenever the month changes ๐
I also like doing it this way because then I'm my own archive of old software installers. So if a new version comes out busted, run the old installer! Doesn't always help if it's internet connected, but it's nice to have something.
And I think even my vast amount of history is maybe only 100GB on my backup HDD, if it's larger it's from occasional random large files lol.