MAILDIR=~/Mail
cd $MAILDIR
-diff -u <(cat subscriptions | sort) <(find . -maxdepth 1 -mindepth 1 -type d | sort | sed 's/^...//')
+diff -u <(cat subscriptions | sort) <(find . -maxdepth 1 -mindepth 1 -type d -regex "\./\..*" | sort | sed 's/^...//')
if [[ "$1" = *"apply"* ]]
then
- find . -maxdepth 1 -mindepth 1 -type d | sort | sed 's/^...//' > subscriptions
+ find . -maxdepth 1 -mindepth 1 -type d -regex "\./\..*" | sort | sed 's/^...//' > subscriptions
echo
echo "** APPLIED **"
fi