Unzip particular file from an zip file
NOTE :
Sometimes we would know the archive file present in zip folder and would like to unzip only that particular file. The ‘-j’ option help us to achieve the same.
STEPS :
Lets say “myarchive.zip” is the zip folder and
“file.txt” is the filename would like to extract.
File.txt relative path inside the folder is “in/archive/file.txt”
Below command will extract file.txt to “/path/to/unzip/to”
unzip -j ” myarchive.zip” “/in/archive/file.txt” -d “/path/to/unzip/to”
Recent Posts