> Two things, a) are you sure this is correct? I interpret $year_month as year > and month, not year and day (date | awk '{print $6"-"$3}' evaluates to 2016-7 > here) and b) 'date +"%Y-%m"' saves you a 2nd process. Thanks for the tip... I'm moving it to nvme utility though. Cheers, Sagi.