archive

Edit .RAR file comments from python

Ok, I need to be able to edit the file comments in .rar files from python. I can already view the comments using UnRAR. However, I need to embed metadata in the files in a way that is preserved over multiple file systems (e.g. alternate datastreams are out), so I can't really think of any other alternatives. rarfile seems like it might...

Unpack zip in zip with Maven

I can unpack zip file via the maven-dependency plugin, but currently i have the problem that inside that zip file other zip files are include and i need to unpack them as well. How can i do this? ...

windows command promt zip/compress directory

Is possible to compress/archive a directory with all of its sub-directories and files in a single file from cmd.exe ? I know there are a lot of utilities available but I need to perform the operation only with the windows default utilities . I'm running windows server 2003 . ...

Problem importing Android project archives into Eclipse

My apologies if this is a stupid newbie question... I'm using Eclipse (Helios release) and have the Android SDK all configured as per the developer.android.com recommendations. I can create and run new projects without any problem but I can't import archived project code samples (found on the web etc.) using Import > Existing Projects I...

Recursion Recursion Recursion --- How can i Improve Performance? (Python Archive Recursive Extraction)

I am trying to develop a Recursive Extractor. The problem is , it is Recursing Too Much (Evertime it found an archive type) and taking a performance hit. So how can i improve below code? My Idea 1: Get the 'Dict' of direcories first , together with file types.Filetypes as Keys. Extract the file types. When an Archive is found Extract ...

Archive manipulating using qt framework

Is it possible to handle different type of archive (zip,rar,7z,tar,) using qt framework ? ...

Creating a tar.gz archive with Maven

Hi All, I have a Maven project, where under src/main directory there is a sub dir called output. this folder needs to be packaged into tar.gz. when using the assembly plugin as follows: From the pom.xml: <build> <finalName>front</finalName> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.2-beta...

Personal archive tool, looking for suggestions on improving the code

i've written a tool in python where you enter a title, content, then tags, and the entry is then saved in a pickle file. it was mainly designed for copy-paste functionality (you spot a piece of code you like on the net, copy it, and paste it into the program), not really for handwritten content, though it does that with no problem. i ma...

need an ideea to optimize an algorithm for matching multipart rar files from input in php

Hello, i'm looking for a better optimized way to find and group multipart archives from an array of filenames I have as an input for example: array( books.part1.rar, books.part3.rar, 00000114.rar, svoy_20ostrov.rar, svoy_20ostrov.rar, koncert_20v_20dk_20mir.rar, koncert_20v_20centralnom_20teatre_20kukol.rar, LP_LIVE_PR_Tampa.part2.rar...

Script to download and extract zip files returns errors

Hey everyone, I have written a script that downloads a zip file from a remote source, and then is supposed to extract the zip file to a directory. Below is the script: <?php $url = "http://example.com/some_file.zip"; download($url,'file.zip'); function download($url,$file_name = NULL){ if($file_nam...

What c# libraries can I use to create .bundle (zipped) files for use in iPhone SDK

I've just created a "bundle creator" app and I'd like to be able to produce a zipped .bundle file rather than have to copy the whole bundle folder. ICSharpCode.SharpZLib Zip library to scuessfully create a archive file however the iPhone doesnt appear to uncompress it. ...

Strategy to handle large datasets in a heavily inserted into table

I have a web application that has a MySql database with a device_status table that looks something like this... deviceid | ... various status cols ... | created This table gets inserted into many times a day (2000+ per device per day (estimated to have 100+ devices by the end of the year)) Basically this table gets a record when jus...

Extract useful file list (with path) from Visual Studio C++ project

I am working with a team on quite a few visual studio (2008) projects which share a lot of code. Some files are used by all projects, but some are only useful to 1 or 2. I am looking for a way to extract all useful files for one particular project. The principle we use is to share directories. Each project selects the shared directorie...

Clean & archive desktop script (windows)

Right now I have a folder called holding zone on my desktop, so that it stays clear, however this folder gets cluttered and I still have to Manually move things to it from my desktop. I would like to schedule a script to move everything except the holding zone folder into a new folder containing the current date in it's name, then move ...

How to unzip a 7zip archive in Android?

The problem is probably quite simple for some of you: I have a 7zip archive which contains some hundred files seperated into different directories. The target is to download it from a FTP server and then extract it on the phone. My problem is that the 7zip SDK contains not really a lot. I am looking for examples, tutorials and snippets ...

PAK archives and zlib (zlib.dylib)

Hi All, I'm currently writing an iPhone app where I need to uncompress several files from .pak archive. I'm assuming libz.dylib will probably have the ability to do this but I'm having a hard time find any code on the subject. Anyone got any example code or can point me in the right direction? Any help at all would be much appreciated...

Product for Microsoft Outlook Email Archive

Are you guys aware of any third party product for archiving emails of Microsoft Outlook? ...

For a stats systems what's better in MySQL: InnoDB, Archive or MyISAM?

I want to store all accesses to a webpage with user-agent, script-execution-time, request-uri, full referer and some more variables. What I have been doing is use normalized MyISAM tables like: stats stats_user_agents stats_referers stats_requested_uris But in a normal webpage this takes some SELECT's and 1 INSERT. It's better use A...

Figuring out archiving or partition strategy?

We are using SQL Server 2008. Our requirement is this - We have about 4 tables related to transactions, which record orders placed by consumers, and their status of delivery.Once,the order is completed it has affect on inventory and finance. Now,these tables will become huge.So,we want to archive every 6-8 months.But,after archiving t...

Do you know any mail archiver software?

I would like to archive my old mails, so that I can keep them safe. I don't want them to be in my mail client, because they are too many, and they slow it down. The best one would be an open-source solution where I can search when I have something old to retrieve. Do you know something like that ? Thanks ...