X-Git-Url: https://us-delaporte.pagekite.me/gitweb/minion.git/blobdiff_plain/71ccf7cbe021ab4cbd096d99f1ddac35fe88b005..1659f5b7db46f9a92d6fdd8b2f848c688b8764f4:/bin/ml?ds=sidebyside diff --git a/bin/ml b/bin/ml index b622021..d56edac 100755 --- a/bin/ml +++ b/bin/ml @@ -1,3 +1,5 @@ -#!/usr/bin/bash +#!/bin/bash +# ml - minion list +# Finds files in ~/Journal/YYYY whose names match the input year=`date +%Y` -find $HOME/Journal/$year -type f -iname "*$1*\.md" +find $HOME/Journal/$year -type f -iname "*$1*\.md" | sort