GetemAll! - Fork of DownthemAll!

Dedicated board for extension releases/support threads

Moderators: FranklinDM, Lootyhoof

Forum rules
Please do not create new topics here unless you are an extension author in need of a dedicated releases&support thread!
User avatar
__NM64__
Lunatic
Lunatic
Posts: 366
Joined: 2013-10-17, 05:29
Location: Northeast Ohio

Re: GetemAll! - Fork of DownthemAll!

Unread post by __NM64__ » 2024-03-31, 01:05

RealityRipple wrote:
2024-03-31, 00:55
I hate to be that guy, but I think the solution is to format your partition as Ext4. :crazy:
I'm not sure if you're joking or just misunderstand, but I'm already using Ext4...?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35576
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: GetemAll! - Fork of DownthemAll!

Unread post by Moonchild » 2024-03-31, 01:11

I don't think filesystems in general use finer granularity than seconds for "date", no matter which one is in use. Maybe you want to re-think how you manage your downloads, because you can't have your cake (perfect sorting by time) and eat it too (have fast downloads). Maybe use sequential numbering prefixes on the file names or maybe even make use of alternate data streams to store the index (although ext4 probably doesn't support that, being as old as it is). Or start using a CMS.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
__NM64__
Lunatic
Lunatic
Posts: 366
Joined: 2013-10-17, 05:29
Location: Northeast Ohio

Re: GetemAll! - Fork of DownthemAll!

Unread post by __NM64__ » 2024-03-31, 01:15

Moonchild wrote:
2024-03-31, 01:11
Maybe use sequential numbering prefixes on the file names
That's actually the idea of what I'm doing, but does Get'emAll support doing that on it's own? The way I've been doing it thus far is via the bulk rename function built into Xfce/Thunar while the files are sorted by date modified.

User avatar
andyprough
Astronaut
Astronaut
Posts: 736
Joined: 2020-05-31, 04:33

Re: GetemAll! - Fork of DownthemAll!

Unread post by andyprough » 2024-03-31, 01:18

__NM64__ wrote:
2024-03-31, 01:05
RealityRipple wrote:
2024-03-31, 00:55
I hate to be that guy, but I think the solution is to format your partition as Ext4. :crazy:
I'm not sure if you're joking or just misunderstand, but I'm already using Ext4...?
Wikipedia says: "Improved timestamps
As computers become faster in general, and as Linux becomes used more for mission-critical applications, the granularity of second-based timestamps becomes insufficient. To solve this, ext4 provides timestamps measured in nanoseconds." https://en.wikipedia.org/wiki/Ext4

Could be that the difficulty lies in finding a file manager that will list the files in proper nanosecond timestamp file order. If Nemo or Thunar won't do it, maybe Nautilus or Dolphin or Caja or Krusader or some other file manager will do it?

User avatar
__NM64__
Lunatic
Lunatic
Posts: 366
Joined: 2013-10-17, 05:29
Location: Northeast Ohio

Re: GetemAll! - Fork of DownthemAll!

Unread post by __NM64__ » 2024-03-31, 02:04

I got the idea that the timestamp displayed may simply not be showing anything smaller than full seconds, but I can't seem to figure out the necessary syntax for the likes of milliseconds or nanoseconds?

For example, this is the syntax for a modified ISO-8601 that uses a space between the date and the time but, as mentioned, the smallest unit is seconds:

Code: Select all

%Y-%m-%d %H:%M:%S

User avatar
andyprough
Astronaut
Astronaut
Posts: 736
Joined: 2020-05-31, 04:33

Re: GetemAll! - Fork of DownthemAll!

Unread post by andyprough » 2024-03-31, 03:13

__NM64__ wrote:
2024-03-31, 02:04
I got the idea that the timestamp displayed may simply not be showing anything smaller than full seconds, but I can't seem to figure out the necessary syntax for the likes of milliseconds or nanoseconds?

For example, this is the syntax for a modified ISO-8601 that uses a space between the date and the time but, as mentioned, the smallest unit is seconds:

Code: Select all

%Y-%m-%d %H:%M:%S
If you don't mind doing it from the command line, it looks to me like you can list and sort the files in a directory with a command like this using the full timestamp down to nanoseconds:

Code: Select all

ls -A -lt --full-time
It gives me some output like this in my Pictures folder:

Code: Select all

-rw-rw-r-- 1 trisquel trisquel  272636 2024-03-29 19:50:01.969584519 -0500  mmexport1711759669983.jpg
-rw-rw-r-- 1 trisquel trisquel  242128 2024-03-29 19:49:52.433694417 -0500  mmexport1711759662560.jpg
-rw-rw-r-- 1 trisquel trisquel  201318 2024-03-29 19:47:38.463316864 -0500  IMG_20240329_194604_481.jpg
-rw-rw-r-- 1 trisquel trisquel 1615758 2024-03-29 19:44:09.961069729 -0500  IMG_20240326_161723940.jpg
-rw-rw-r-- 1 trisquel trisquel  442850 2024-03-16 14:06:03.635652390 -0500  happy-birthday-gnusance.png
-rw-rw-r-- 1 trisquel trisquel  442925 2024-03-16 13:55:34.552861100 -0500  happy-birthday-gnu.png
-rw-rw-r-- 1 trisquel trisquel  129549 2024-01-20 15:55:05.253900359 -0600 'Babbages_Analytical_Engine,_1834-1871._(9660574685).jpg'
-rw-rw-r-- 1 trisquel trisquel  454070 2023-02-25 18:31:54.000000000 -0600 'Happy 39th Birthday.svg'
More info and options can be found here: https://superuser.com/questions/251421/ ... 431#251431

User avatar
__NM64__
Lunatic
Lunatic
Posts: 366
Joined: 2013-10-17, 05:29
Location: Northeast Ohio

Re: GetemAll! - Fork of DownthemAll!

Unread post by __NM64__ » 2024-03-31, 03:28

andyprough wrote:
2024-03-31, 03:13
If you don't mind doing it from the command line, it looks to me like you can list and sort the files in a directory with a command like this using the full timestamp down to nanoseconds
I kind of do mind using the terminal because I've no idea how subsequently rename the files into a basic numerical naming convention, but your command at least confirmed that the nanoseconds are actually being written to the file but either Thunar and Nemo don't support them or I need to figure out the date/time syntax thing for values less than a second (or for all I know maybe the issue is that one doesn't even exist?).

But the fact that the necessary timestamp information is still present made me think to try a different program, and it turns out that XnView MP, despite not showing timestamps less than a second, does actually seem to silently acknowledge their existence! So for the time being I can just use XnView MP's own batch renamer (which, fun fact, actually should work for any file including those that XnView MP cannot open).

Post Reply