I would like to unzip as different file name
Solution 1:
By default, unzip
extracts the content of the archive directly into the current directory.
You can specify a different target directory where to extract the files using the -d
option:
unzip example.zip -d /path/to/wherever/you/want/the/archive/to/get/extracted
Or if the archive itself contains a folder example
which you want to extract to the current directory, but with a different name, you must manually rename it to examplefold
afterwards:
unzip example.zip && mv example examplefold