On Wed, 2018-01-31 at 07:45 +1100, Cameron Simpson wrote:
> Dragging the files 'in the right order' doesn't
affect their names. The
> script loops over the files in lexical order, not in the order I've
> dragged them, so the final order won't change.
The idea is that the script picks up the files as fast as you drag them. You
might need to shrink the "sleep 1" to "sleep 0.1", or perhaps better,
to not
sleep at all _if_ any files were run on that loop. The sleep is there to stop
your machine spinnning out when idle.
Provided the files are picked up suffiently promptly, they are meant to each
get a nice incrementing numeric prefix as you drag them, thus ordering their
names in the ordered directory.
Yes, I missed that. I see the intent now.
poc