Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: Detect file sequences in File:Find results

by johngg (Abbot)
on Jan 21, 2013 at 15:38 UTC ( #1014468=note: print w/replies, xml ) Need Help??

in reply to Re^2: Detect file sequences in File:Find results
in thread Detect file sequences in File:Find results

so that the unpadded sequences comes back in the correct order

You may have a reason for the order you chose but I would have thought it made more sense order things so that the number part of the filename was sorted numerically, not lexically. That way you get two runs rather than one run and four singletons from the example you post.

image_sequenceA.1.tif image_sequenceA.2.tif image_sequenceA.3.tif image_sequenceA.11.tif image_sequenceA.12.tif image_sequenceA.13.tif image_sequenceA.14.tif image_sequenceA.15.tif image_sequenceA.16.tif image_sequenceA.17.tif image_sequenceA.18.tif image_sequenceA.19.tif image_sequenceA.20.tif

I hope this is of interest.



Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014468]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2016-10-27 22:25 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (371 votes). Check out past polls.