Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2822

gzip: archive: unknown suffix -- ignored

$
0
0

im trying to decompress files and given a list of 4 file types and it gives me this error:gzip: archive: unknown suffix -- ignored

the script:

i=1;for file_name in "$@" doecho "file_name=$file_name ";if [[ "$file_name" == *.zip ]]then   unzip archive.zip elif [[ "$file_name" == *.gz ]]then   gzip archive.gz elif [[ "$file_name" == *.bz2 ]]    then    bzip2 archive.bz2else   uncompress archivefi    i=$((i + 1));done

Viewing all articles
Browse latest Browse all 2822

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>