7 lines
196 B
Bash
Executable file
7 lines
196 B
Bash
Executable file
#!/bin/sh
|
|
|
|
WEEK=$(date '+%U')
|
|
|
|
[ -e "/home/$USER/Documents/personal/sched-$WEEK" ] && sched.py print ~/Documents/personal/sched-$WEEK && exit
|
|
|
|
echo "No sched-$WEEK found in ~/Documents/personal/"
|