archive

Ideal options for archiving flat files

We receive multiple thousands of flat files per week currently, and I have a system that runs reports on these and exports them to PDF for our people to process and reference. I currently bulk load these into a database, make sure all fields/formatting is valid, export them, and truncate the tables on the next run. What I'm wondering...

How do you archive an entire website for offline viewing?

We actually have burned static/archived copies of our asp.net websites for customers many times. We have used WebZip until now but we have had endless problems with crashes, downloaded pages not being re-linked correctly, etc. We basically need an application that crawls and downloads static copies of everything on our asp.net website ...

How can I tar a file that is being used by another process?

I'm archiving a directory. This directory has a file that is being written by another process. When I tar this using Linux tar/Perl Tar module, in the archive the entry for the file is there but the contents are null. Before tarring the files are... -rw-r--r-- 1 irraju dba 28 Feb 18 02:22 a -rw-r--r-- 1 irraju dba 25 Feb 18 02:23 b ...

RAR archives with java

Hello! Is there a good java API for manipulating RAR archive files someone could recommend? Googling did not turn up anything overwhelmingly convincing... Thanks alot! ...

C++ Library for modifying a ZIP file in place

I'm looking for a way to add or remove files to/from an existing ZIP archive, or any other archive format for that matter as long as there are cross platform APIs, without having to rewrite a new zip file with new files added to it, or sans items deleted from it. With ZIP files, the catalog is placed at the end of the file so that, an...

Pros and Cons of the MySQL Archive Storage Engine?

For a website I am developing, I am going to store user activity information (like Facebook) and HTTP requests to the server into a MySQL database. I was going to use InnoDB as the storage engine; however, I briefly read about the Archive storage engine and this sounds like the way forward for information which is only Inserted or Selec...

Can I get "WAR file" type deployment with ASP.NET?

Sometimes J2EE-savvy people look at ASP.NET and wonder, where's the support for deploying an app as a single unit? JSP/Servlet apps can be deployed as WAR files, with all pages, content, metadata, and code in that single archive. The war file can be versioned, easily moved around. There's an assurance that the entire app is contained...

Decompress a Gzip archive in Java

I'm trying to decompress about 8000 files in gzip format in Java. My first try was to use GZIPInputStream but the performance was awful. Anyone know any alternative to decompress gzip archives? I tried ZipInputStream but it's not recognizing the gzip format. Thank you in advance. ...

How can I tar files larger than physical memory using Perl's Archive::Tar?

I'm using Perl's Archive::Tar module. Problem with it is it pulls everything on to the memory and the does archiving and then writes on to the file system so there is limitation on the maximum file size that can be archived. Most of the times it says out of memory. In case of GNU tar, it takes chunk of file, archives it and writes it on ...

Untar multipart tarball on Windows

I have a series of files named filename.part0.tar, filename.part1.tar, filename.part8.tar. I guess tar can create multiple volumes when archiving, but I can't seem to find a way to unarchive them on Windows. I've tried to untar them using 7zip (GUI & commandline), WinRAR, tar114 (which doesn't run on 64-bit Windows), WinZip, and ZenTar...

SMS archive solutions

Hi all, Does anyone know if there are any SMS archive solution out there? The idea is to archive your sms message from your phone to a central location. ...

Snapshot website over time

I'm a developer for a marketing team and one of the features that often gets requested is: Can we go back to see what our site (or what X page) looked like back in X. Are there any good solutions for solving for this request? ...

Extract Directory Inside Zip

Hey! I'm writing a script to extract files from a zip archive into the directory that the script is located. Here's my code: $zip = new ZipArchive; if ($zip->open('latest.zip') === TRUE) { $zip->extractTo('.'); $zip->close(); unlink('installer.php'); echo 'it works!'; } else { echo 'failed'; } This works fine, but there's one p...

Archive log transfer from Oracle 9i to Oracle 10g

Hi all, I have a situation where I need to transfer Oracle 9i archive logs to an Oracle 10g database, from where they are to be mined by a log-miner and then used by an Oracle streams capture/apply processes. (Oracle 9 archive logs can be read by the Oracle 10 logminer - I can manually copy the archive logs across, manually register th...

Zip folder in C#

What is an example (simple code) of how to zip a folder in C#? Update: I do not see namespace ICSharpCode. I downloaded ICSharpCode.SharpZipLib.dll but I do not know where to copy that DLL file. What do I need to do to see this namespace? And do you have link for that MSDN example for compress folder, because I read all MSDN but I c...

unzip specific extension only

I have a a directory with zip archives the zip archives contain .jpg, .png, .gif images I want to unzip each archive taking the images only and putting them in a folder with the name of the archive so files/archive1.zip files/archive2.zip files/archive3.zip files/archive4.zip open archive1.zip - take sunflower.jpg, rose_sun.gif...

How do I tar a directory of files and folders without including the directory itself?

I typically do: tar -czvf my_directory.tar my_directory What if I just want to include everything (including any hidden system files) in my_directory, but not the directory itself? I don't want: my_directory --- my_file --- my_file --- my_file I want: my_file my_file my_file ...

Managing huge transaction records ?

I have an application that is scheduled and get some data from a another database table and dumps in my main applications database table,the number of records in this table increases daily and I assume it will grow daily as it is transactions event data that occur.This data is used for processing by the main application which takes each ...

Shell command to tar directory excluding certain files/folders

Is there a simple shell command/script that supports excluding certain files/folders from being archived? I have a directory that need to be archived with a sub directory that has a number of very large files I do not need to backup. Not quite solutions: The tar --exclude=PATTERN command matches the given pattern and excludes those fi...

Create zip archive for instant download

In a web app I am working on, the user can create a zip archive of a folder full of files. Here here's the code: files = torrent[0].files zipfile = z.ZipFile(zipname, 'w') output = "" for f in files: zipfile.write(settings.PYRAT_TRANSMISSION_DOWNLOAD_DIR + "/" + f.name, f.name) downloadurl = settings.PYRAT_DOWNLOAD_BASE_URL + "/"...