delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/09/02:46:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: zzapper <david AT tvis DOT co DOT uk>
Subject: Re: Winzip & Zip
Date: Wed, 09 Nov 2005 07:42:22 +0000
Lines: 29
Message-ID: <k0a3n19uc8brvn2688nsoodvu0m9j4tpnm@4ax.com>
References: <8i6um1dfkcr3m7jl18jalaq2th9cvi1bnp AT 4ax DOT com> <deca9ec80511081902h367eb736taf91eae3e82bea6a AT mail DOT gmail DOT com>
Mime-Version: 1.0
X-IsSubscribed: yes

On Wed, 9 Nov 2005 11:02:12 +0800,  wrote:

>On 11/7/05, zzapper <david AT tvis DOT co DOT uk> wrote:
>> Hi,
>> Everyone knows the very useful Winzip, however some pretty clever "automatic" stuff can be done
>> using CygWins zip
>>
>>
>> # zip a webroot but only html or php files
>> zip.exe  -r web.zip c:/intranet/web/ -i *.php *.htm*
>>
>> # zip a list of files where  list.txt contains one file name per line
>> zip all.zip -@ < list.txt
>>
>> find . -name "*.[ch]" -print | zip source -@
>>
>> Now you can start using the above for a regular backup if you link them to a cron
>
>nice tips!
>
>used to use zip for backups a long time ago... then tar.gz... now i use rsync.
>
>best,
Some examples please

-- 
zzapper
Success for Techies and Vim,Zsh tips
http://SuccessTheory.com/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019