X-Git-Url: https://apps.delaporte.us/gitweb/minion.git/blobdiff_plain/3cb071d4349ce044d5e2d2a9207b25f1c419ab37..HEAD:/bin/ml?ds=sidebyside diff --git a/bin/ml b/bin/ml index 4acb211..d56edac 100755 --- a/bin/ml +++ b/bin/ml @@ -1,3 +1,5 @@ -#!/usr/bin/fish -set year (date +%Y) -find $HOME/Journal/$year -type f -iname "*$argv*\.md" +#!/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" | sort