blob: e3f294237c31f8f9f0348f675a71d7768ab65ae2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/bash
if [[ $1 = "-v" ]]
then
CMD=vim
else
CMD=cat
# $CMD $(find /home/lemon/Notes/journal -name "*$(date '+%Y-%m-%d')*")
$CMD $(find /home/lemon/Notes/journal -name \*$(date '+%Y-%m-%d'\*))
fi
|