Dave's Blog

Bash: create a new timestamped folder and tell me what it is


April 18, 2019

mkdir my.name_$(date +%Y_%m-%d-%H-%M-%S); ls |grep _$(date +%Y_%m-%d) | sort -r | head -1