#!/bin/sh
find -type d -printf 'Marking %p\n' -a -exec touch {}/.nomedia \;