On Sun 17 May 2026 at 01:28:44 (-0400), Karen Lewellen wrote: > Hi David, > This is not my desktop, with my not having permission to add software. > I do thank you, and everyone else, for ideas. > Speaking personally though, one thing I learned from all the options > sort of underscores a long held stance of my own. > If one wanted a hand clapping program in Linux, you would likely end > up with three. one for the right, one for the left, and a third to > make them clap smiles. > At this stage, speaking personally, it might be faster for me to find > the article again creating a new file and name. > My main desktop uses DOS. > For me, I could locate this with a simple single command...and I have > been spoiled by the ease of ls -l when hunting through scores of > things on my Linux shell services.
I wrote the function as a tool to avoid having to type long find commands. As someone here had already said that they too had difficulty with find syntax, I posted it as an idea for anybody else to start from. If you look at the script, 90% of it is checking the valid syntax of the dates, and allowing the interval to be specified in the order you dream it up. So you could just type in the last line of the script, making the three obvious substitutions: find WHERE -newermt "STARTTIME" -a -not -newermt "ENDTIME" -type f -printf '%TY%Tm%Td-%TH%TM%.5TS%11s %P\n' | sort -k 3 If you find all those percent signs overwhelming, then just type: find WHERE -newermt "STARTTIME" -a -not -newermt "ENDTIME" -type f -print | sort -k 3 and lose the timestamps and filesizes (which I find useful). And you already know about -name '*.txt', though if you're still a DOS user, I'd be inclined to stick with -iname. Cheers, David.

