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;


Mario Loria is a builder of diverse infrastructure with modern workloads on both bare-metal and cloud platforms. He's traversed roles in system administration, network engineering, and DevOps. You can learn more about him here.