Add ymd script

This commit is contained in:
Talia 2023-06-21 09:45:10 +02:00
parent 9a5d15f100
commit d2a7f3c6c0

8
bin/ymd Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
if [ -z "$*" ]
then
date +"%Y%m%d"
else
date +"%Y%m%d" --date "$*"
fi