Shift pour ne pas repasser l'argument après
This commit is contained in:
parent
c80b84c506
commit
ac0a5bd169
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh -e
|
||||
path="${1:-.}/$(date +'%Y_%m_%d')"
|
||||
shift
|
||||
mkdir "$@" -p "$path"
|
||||
echo "$path"
|
||||
|
||||
|
|
Loading…
Reference in a new issue