steve harley wrote:


"C" appears in only one position in each file name; if "C" is not used
in any of the directory names, we can use it as a field separator, and
this should work from a shell connected to the top level directory to
scan; it assumes there are no repeats; in case it breaks, this should be
one line:

find . -name '*.DNG' -follow -print | sort --field-separator="C" -k 2 |
awk -F 'C|\.DNG' '$2!=p+1{print}{p=$2}'

Cool, thanks.

I ended up doing it brute force using find, grep, sort, emacs and wc.





--
Larry Colen  l...@red4est.com (postbox on min4est)

--
PDML Pentax-Discuss Mail List
PDML@pdml.net
http://pdml.net/mailman/listinfo/pdml_pdml.net
to UNSUBSCRIBE from the PDML, please visit the link directly above and follow 
the directions.

Reply via email to