[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Command help

From: Raymond J Julich
Subject: Command help
Date: Tue, 9 Jan 2007 14:17:19 -0800

I copied this command off of the page: http://www.gnu.org/software/gzip/manual/html_node/Sample.html

The following command will find all gzip files in the current directory and subdirectories, and extract them in place without destroying the original:
     find . -name '*.gz' -print | sed 's/^\(.*\)[.]gz$/gunzip < "&" > "\1"/' | sh

Is there a way to extract them to a different directory other than the current one.

Ray Julich, M.S.
US Geological Survey
IT Specialist
934 Broadway, Suite 300
Tacoma, WA 98402
Phone: (253) 552-1637
Fax:(253) 552-1581
Email: address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]