Page is a not externally linkable
- Hardware and OS Related Technologies
-- Linux, Unix, and *nix like Operating Systems
---- Unzip files and move to another directory


Birdman - 5:10 pm on Jan 5, 2008 (gmt 0)


I suggest using the -d [extdir] switch, so you don't need to move the files. Also, previous example is going to move the zip file as well and you probably don't want that.

Here's a one-liner:

unzip -d ~/user/websitename ~/user/temp/file.zip

Marty


Thread source:: http://www.webmasterworld.com/linux/3526720.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com