This version works in bash as well as in bash scripts
mkdir testfolder_$(date +"%Y-%m-%d_%H%M%S")
Be aware that you can’t use it in cron. cron takes a % as newline argument.
—
von
This version works in bash as well as in bash scripts
mkdir testfolder_$(date +"%Y-%m-%d_%H%M%S")
Be aware that you can’t use it in cron. cron takes a % as newline argument.