citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

read-thread-later (208B)


      1 #!/usr/bin/env bash
      2 set -e
      3 
      4 if [[ -z $1 ]] || [[ -z $2 ]]; then
      5 	printf "usage: read-thread-later <thread:threadid> filename.txt\n" >&2
      6 	exit 1
      7 fi
      8 
      9 notmuch show --format=text "$1" | collapse | readlater "$2"