X-Git-Url: https://apps.delaporte.us/gitweb/minion.git/blobdiff_plain/adb613803d139be75d7ecb4d83910ad033358294..731861917b7fb0ede8399cd434b9abf9b4790198:/bin/ml diff --git a/bin/ml b/bin/ml index 2c9e6c9..d56edac 100755 --- a/bin/ml +++ b/bin/ml @@ -1,5 +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