Help for this page

Select Code to Download


  1. or download this
        my $ft           = File::Type->new();
        my $type         = $ft->mime_type($filename);
    ...
        if ( $type eq "application/x-gzip" ) {
            ....
        }
    
  2. or download this
    $ gzip -h
    Usage: gzip [OPTION]... [FILE]...
    ...
    ...
      -f  freshen existing files, create none    -t  test compressed archi
    +ve data
    ..