On 2015-10-12 20:19 , John wrote:
On 10/11/2015 10:17 PM, steve harley wrote:
it occurs to me this would be an opportunity to learn Lua (Lightroom's
scripting language)
I wonder if opening a terminal window and using the "ls -a -l [pathname]"
command and pipe it to a textfile would do the trick?
sort of … that would print lots of extra info, wouldn't put the path on each
line, and wouldn't recurse into the subdirectories; there are switches to
"ls" that would be more appropriate, but the "find" command in the string i
offered Larry is a natural choice, as it's designed for processing lists of
files; i set it up to return the path and filename only — i was assuming
Larry wanted the path as a hint to where the sequence was broken (if he
wanted only the sequence gaps, that could be done too)
yes, you could send ls's or find's output to a text file instead of through
sort & awk — TextWrangler is a free editor on Mac that is very powerful for
that kind of thing; it will do diffs and regular expressions
my mention of Lua was genuine curiosity, but also an attempt to bring it
somewhat back on topic — Lua is the scripting language built-into Lightroom;
Larry's original request was how to find gaps in the sequence within
Lightroom, and i'm sure it could be done
--
PDML Pentax-Discuss Mail List
[email protected]
http://pdml.net/mailman/listinfo/pdml_pdml.net
to UNSUBSCRIBE from the PDML, please visit the link directly above and follow
the directions.