darkrc/bin/ymd
2023-06-21 09:45:10 +02:00

8 lines
85 B
Bash
Executable file

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