dotfiles/bin/mkddate
2023-05-08 10:58:45 +02:00

6 lines
90 B
Bash
Executable file

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