I store backups of critical files in a given directory. Each backup produces a unique subdirectory of that directory.
For a potential restore, I want to find the most recent file with a given name in that directory. It makes sense to use a DO loop on that filename, with the output sorted descending by date, so that I can process the first file found and then quit the loop. However, the list of files found is always in ascending order.
This holds true if I sort instead by name or...
Read more
For a potential restore, I want to find the most recent file with a given name in that directory. It makes sense to use a DO loop on that filename, with the output sorted descending by date, so that I can process the first file found and then quit the loop. However, the list of files found is always in ascending order.
This holds true if I sort instead by name or...
Read more