bash-3.2# ls *.zip
118666-47.zip 120830-06.zip 138852-01.zip 142394-01.zip 147217-02.zip
118777-16.zip 120849-04.zip 139520-02.zip 142933-05.zip 148027-03.zip
119081-25.zip 124204-04.zip 142240-01.zip 143506-06.zip
119963-24.zip 126425-01.zip 142251-02.zip 146470-08.zip
bash-3.2#
bash-3.2#
Problem :
bash-3.2# unzip *.zip
Archive: 118666-47.zip
caution: filename not matched: 118777-16.zip
caution: filename not matched: 119081-25.zip
caution: filename not matched: 119963-24.zip
caution: filename not matched: 120830-06.zip
caution: filename not matched: 120849-04.zip
caution: filename not matched: 124204-04.zip
caution: filename not matched: 126425-01.zip
caution: filename not matched: 138852-01.zip
caution: filename not matched: 139520-02.zip
caution: filename not matched: 142240-01.zip
caution: filename not matched: 142251-02.zip
caution: filename not matched: 142394-01.zip
caution: filename not matched: 142933-05.zip
caution: filename not matched: 143506-06.zip
caution: filename not matched: 146470-08.zip
caution: filename not matched: 147217-02.zip
caution: filename not matched: 148027-03.zip
bash-3.2#
bash-3.2#
bash-3.2#
Solution :
Use single quotes [ ‘ ‘ ]
bash-3.2# unzip ‘*.zip’
Archive: 146470-08.zip
inflating: 146470-08/LEGAL_LICENSE.TXT
inflating: 146470-08/prepatch
inflating: 146470-08/SUNWcsu/reloc/usr/share/lib/zoneinfo/EST
inflating: 146470-08/SUNWcsu/reloc/usr/share/lib/zoneinfo/tab/zone_sun.tab
inflating: 146470-08/SUNWcsu/reloc/usr/share/lib/zoneinfo/tab/country.tab
inflating: 146470-08/SUNWcsu/reloc/usr/share/lib/zoneinfo/Australia/Broken_Hill
inflating: 146470-08/SUNWcsu/reloc/usr/share/lib/zoneinfo/Australia/Eucla
inflating: 146470-08/SUNWcsu/reloc/usr/share/lib/zoneinfo/Australia/Melbourne
inflating: 146470-08/SUNWcsu/reloc/usr/share/lib/zoneinfo/Australia/Sydney
inflating: 146470-08/SUNWcsu/reloc/usr/share/lib/zoneinfo/Australia/Adelaide
inflating: 146470-08/SUNWcsu/reloc/usr/share/lib/zoneinfo/Australia/Perth
inflating: 146470-08/SUNWcsu/reloc/usr/share/lib/zoneinfo/Australia/Lord_Howe
inflating: 146470-08/SUNWcsu/reloc/usr/share/lib/zoneinfo/Australia/Hobart
inflating: 146470-08/SUNWcsu/reloc/usr/share/lib/zoneinfo/Australia/Currie