dotfiles/bin/mkddate
2023-04-16 22:58:56 +02:00

5 lines
84 B
Bash
Executable file

#!/bin/sh -e
path="${1:-.}/$(date +'%Y_%m_%d')"
mkdir "$@" -p "$path"
echo "$path"