logo

dotfiles

My dotfiles, one branch per machine, rebased on base git clone https://anongit.hacktivis.me/git/dotfiles.git/

list-mailboxes.sh (203B)


  1. #!/bin/sh
  2. sub_maildirs() {
  3. find $1 -name '.*' -printf '~/%h/%f\n' | sort | tr '\n' ' '
  4. }
  5. set -e
  6. cd
  7. echo -n "~/sent "
  8. echo -n "~/Maildir "
  9. sub_maildirs Maildir
  10. #echo -n "~/Mail "
  11. sub_maildirs Mail