пятница, 22 мая 2015 г.

How to extract a ZIP archive

Given:
  • FreeBSD 9.3-RELEASE-p9, twm, xterm
  • a ZIP archive, for example vesna-v1.zip
Find: extract its content to the current working directory.
Solution:
% unzip vesna-v1.zip

Tip:
If an archive contains two or more files, you may need to create a new directory and put the archive into it before extracting. For example:
% mkdir vesna-v1
% mv vesna-v1.zip vesna-v1
% cd vesna-v1
% unzip vesna-v1.zip

Using this approach you always will be able to tell extracted files from old ones because extracted files will in separated directory =)

Комментариев нет:

Отправить комментарий