dotfiles/bin/mkddate

6 lines
79 B
Text
Raw Normal View History

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