This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Winzip & Zip


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

>On 11/7/05, zzapper <david@tvis.co.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]