Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1703

DO statement reversed sort order seems not to work

$
0
0
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

Viewing all articles
Browse latest Browse all 1703

Trending Articles