WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> How to... >> Higher level compress
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1375208750

Message started by SiSL on Jul 30th, 2013 at 8:25pm

Title: Higher level compress
Post by SiSL on Jul 30th, 2013 at 8:25pm
I wonder if we can compress higher level of zip.

In old days, I have to manually RAR files , you know it is lik 10-20 GB's of text files.  with default ZIP it is like 2x of old RAR files, I wonder if we can change compression rate of ZIP component, may be to 7z (Level9) ?


Title: Re: Higher level compress
Post by Dirk on Jul 30th, 2013 at 9:31pm
You can use the 'start any .bat-file' plugin together with any command line enabled zip program (winrar, 7zip, ...) to get a (maybe) higher compression.

Title: Re: Higher level compress
Post by SiSL on Jul 31st, 2013 at 12:51am
Thanks, RAR would be nice I think...

Title: Re: Higher level compress
Post by Gert on Jul 31st, 2013 at 5:54am
Something like this .bat file should do the trick:
[code]SET RAR=C:\Program Files\WinRar\rar.exe
SET RARSWITCHES=-hpMySecretPasswd -rr

"%RAR%" a %RARSWITCHES% "C:\Rars\%WD_FILE_B%.rar" "%WD_FILE%"
[/code]

The %WD_... variables are explained here:
http://www.watchdirectory.net/wdhelp/plugins/wdopAutoRunBatEnv.html

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.