I need create folder with date and add some files into that folder and need to zip that folder. For example
I have directory called A which has files like
pandi_yyyymmdd.csv, vino_YYYYMMDD.csv
I need to create folder like pandi_vino_YYYYMMDD
need to add above files into this folder
Finally I need to zip folder pandi_vino_YYYYMMDD
I tried like below zip -q pandi_vino.`date +%Y%m%d`pandi.20200528.csv | mkdir pandi_vino.`date +%Y%m%d