8 lines
85 B
Bash
Executable file
8 lines
85 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ -z "$*" ]
|
|
then
|
|
date +"%Y%m%d"
|
|
else
|
|
date +"%Y%m%d" --date "$*"
|
|
fi
|