- CheckMates
- :
- Products
- :
- Quantum
- :
- Security Gateways
- :
- Uncompress zip archive on cli?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Uncompress zip archive on cli?
Hi!
I have to unzip a zip archive in the cli on a management server. Because on Gaia only gunzip is available i tried it without luck:
[Expert@cp-mgmt:0]# gunzip test.zip
gzip: test.zip: unknown suffix -- ignored
On a full featured Linux i am able to uncompress this file with "unzip":
[root@centos temp]# unzip test.zip
Archive: test.zip
…….
Is there a way to uncompress a zip file with gunzip?
BR,
Bernhard
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Zip is not included as a part of Check Point's linux installation.
zip and gunzip are two different file-types and support different compression algorithms.
- https://linux.die.net/man/1/gunzip
- https://linux.die.net/man/1/zip
If you have to copy files over to a gateway or management, then I would recommend using TAR and gzip/xz formats as those are supported.
If the compression method is unable to be changed, then it is possible to use python on the manager in order to unpack the zip file.
# python -m zipfile -e zipfile.zip .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Zip is not included as a part of Check Point's linux installation.
zip and gunzip are two different file-types and support different compression algorithms.
- https://linux.die.net/man/1/gunzip
- https://linux.die.net/man/1/zip
If you have to copy files over to a gateway or management, then I would recommend using TAR and gzip/xz formats as those are supported.
If the compression method is unable to be changed, then it is possible to use python on the manager in order to unpack the zip file.
# python -m zipfile -e zipfile.zip .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Many thanks!
This command did the job 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
