#!/bin/bash find "${HOME}/.mozilla/firefox" -maxdepth 1 -type d -name '*.default' \ | while read dir; do printf '%s\n' "$dir" done