Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:file': 0.07; 'wednesday,': 0.07; 'received:gmx.net': 0.09; 'python': 0.11; 'windows': 0.15; 'command-line': 0.16; 'format?': 0.16; 'received:gmx.com': 0.16; 'subject:image': 0.16; 'unpacking': 0.16; 'wrote:': 0.18; 'library': 0.18; 'wed,': 0.18; 'trying': 0.19; 'file,': 0.19; 'url:dev': 0.24; 'script': 0.25; 'url:mailman': 0.30; 'extract': 0.31; 'file': 0.32; 'run': 0.32; 'url:python': 0.33; '-----': 0.33; 'maybe': 0.34; 'etc': 0.35; 'point.': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'starting': 0.37; 'received:172.19': 0.38; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'how': 0.40; 're:': 0.63; 'capable': 0.67; 'received:74.208': 0.68; 'theres': 0.84; 'from:addr:mail.com': 0.93 Content-Type: text/plain; charset="utf-8" Date: Wed, 09 Apr 2014 13:59:37 -0400 From: "trewio" MIME-Version: 1.0 Subject: Re: Unpacking U-Boot image file To: python-list@python.org X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: 3u83c/xy3zOl2srVX3gh6rh+IGRvbwDy X-Mailman-Approved-At: Wed, 09 Apr 2014 21:39:30 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 36 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1397072371 news.xs4all.nl 2858 [2001:888:2000:d::a6]:34153 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69974 I need decompress image(modem), and I deciced use some Python script or utility which capable run on Python for Windows OS. > ----- Original Message ----- > From: Adnan Sadzak > Sent: 04/09/14 08:33 PM > To: python-list > Subject: Re: Unpacking U-Boot image file > > I belive you are trying to decompress some router images or router > backup/config files? > Check if maybe LZS. > > Rustom gave You starting point. > > > > On Wed, Apr 9, 2014 at 7:18 PM, Rustom Mody wrote: > > > On Wednesday, April 9, 2014 9:36:40 PM UTC+5:30, trewio wrote: > > > How to extract files from U-Boot image file, LZMA-compressed? > > > > > > Is there a Python script that can do this properly? > > > > For lzma theres this (recent) python library > > https://docs.python.org/dev/library/lzma.html > > > > Though you might just be better off with the command-line xz unxz etc > > > > After that.. whats the U-boot format? > > -- > > https://mail.python.org/mailman/listinfo/python-list > >