How do I decompress BZ2 files?

Christian Langers chris at whitelotus.on-rev.com
Sat May 22 13:13:00 EDT 2010


Hi Bill,

you might try shell()...

http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/bzip2.1.html

e.g. put "bunzip2 -k" && tSource && tDestination into tShellScript
put/get shell(tShellScript)

and escape space with "\ " in the path part...

This might work,

Christian


On 22/05/10 18:50, Bill Vlahos wrote:
> My hosting company compresses their log files using bz2. I can download the files and the Mac will decompress them when I double click.
>
> The Rev decompress command looks like it uses gzip which is different.
>
> Is there a way in Rev to decompress the file in the bz2 format so that I can do it all in Rev or do I need to do the steps manually? This only needs to work on the Mac.
>
> Bill Vlahos
> _________________
> InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure.
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>    




More information about the use-livecode mailing list