So I needed to find all my movie directories that didn’t contain fanart so I could fill the void and find some for em’!

Here’s how:

find . -type d | while read line; do if [ ! -f "$line/fanart.jpg" ]; then echo "$line"; fi; done;

Thanks unix.com

Blog Logo

Mario Loria


Published

Image

./scriptthe.net

Because 127.0.0.1 gets old after a while.

Back to Overview