zip解凍

```zip.sh
#!/bin/bash
#使い方
#./zip.sh 07

mv /Users/gen/2021/noise/20${1}/2020/${1}/01/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 2'/${1}/02/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 3'/${1}/03/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 4'/${1}/04/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 5'/${1}/05/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 6'/${1}/06/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 7'/${1}/07/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 8'/${1}/08/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 9'/${1}/09/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 10'/${1}/10/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 11'/${1}/11/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 12'/${1}/12/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 13'/${1}/13/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 14'/${1}/14/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 15'/${1}/15/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 16'/${1}/16/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 17'/${1}/17/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 18'/${1}/18/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 19'/${1}/19/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 20'/${1}/20/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 21'/${1}/21/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 22'/${1}/22/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 23'/${1}/23/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 24'/${1}/24/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 25'/${1}/25/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 26'/${1}/26/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 27'/${1}/27/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 28'/${1}/28/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 29'/${1}/29/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 30'/${1}/30/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
mv /Users/gen/2021/noise/20${1}/'2020 31'/${1}/31/01/01/V/M/*.cnt /Users/gen/2021/noise/20${1}
ls -1 | wc -l
```
#Linux用
```zip_2.sh
#!/bin/bash
#使い方
#./zip_2.sh /home/takehiko/2021/noise/2107  2021  07
#展開先 年 月

mv ${1}/${2}/${3}/01/01/01/V/M/*.cnt ${1}

for num in {1..9}
do
mv ${1}/${2}" ""("${num}")"/${3}/0${num}/01/01/V/M/*.cnt ${1}
done

for num in {10..31}
do
mv ${1}/${2}" ""("${num}")"/${3}/${num}/01/01/V/M/*.cnt ${1}
done
	   
ls -1 | wc -l

```