Search code examples
unzip

Unzipping a folder( not empty ) to a new named folder


I have a folder called newfast.zip in my remote server. I required to unzip as xyz folder. ( say xyz is my new folder name ), I tried like this:

[xxxxx@xxxxxautosuggest unzip]$ unzip newfast.zip xyz
Archive:  newfast.zip
caution: filename not matched:  xyz
[mohamear@stic-scm-autosuggest unzip]$ cl

But I turn with error. any one help me here please?

And any one suggest me the good tutorial page to learn all useful command of putty


Solution

  • Suggested work around: Create a directory, lets say zipcontent and then unzip the content into that dir: unzip file.zip -d zipcontent/