Skip to main content

meta

to-do: find analytics scripts for listing video / image sizes

0. tree:

tree > tree.txt

1. to clean the tree.txt, regex to clean lines up to the extension (leaving only last 3 chars)chars, without the preceeding '.')

.*(?=\.).

2. checkclean extra newlines

\n\n
to
\n

3. regex to replace multiple duplicate subsequential lines (with one of the same)single

^(.*)(\r?\n\1)+$
to
\1