Is there any option for date command to delete '0' in front of the day and the month in case it has a single letter
==================
Current Output :
date +%Y%m%d
20040504
date +%Y%m%d
20041124
==================
Wanted output
200454
20041124
===================
I have a script which generating filename as 200454.log but I want it to have like 20040504.log for furthur statistic.I could not modified in that script but only to have an additional script to manipulate the file name on the output file.Please recommend.
==================
Current Output :
date +%Y%m%d
20040504
date +%Y%m%d
20041124
==================
Wanted output
200454
20041124
===================
I have a script which generating filename as 200454.log but I want it to have like 20040504.log for furthur statistic.I could not modified in that script but only to have an additional script to manipulate the file name on the output file.Please recommend.