dotfiles/bin/mkddate

7 lines
90 B
Text
Raw Normal View History

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