Add ymd script

This commit is contained in:
Talia 2023-06-21 09:45:10 +02:00
parent 9a5d15f100
commit d2a7f3c6c0
1 changed files with 8 additions and 0 deletions

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