How do i unzip a zip file into a specific directory?



  • You are usually will download zip files into a temporary holding area, but want to unzip the contents into another directory. This command show you how this can be done.

    $ sudo unzip /tmp/myzip.zip -d /usr/local/myapp
    
    All the contents of myzip.zip will be unzip'ed into /usr/local/myapp

Log in to reply
 

© Lightnetics 2024