Все вопросы: [archive]

72 вопросов

0
голосов
5ответов
1706 просмотров

How do I archive a set of files using Perl on Win32 while retaining file paths?

PROBLEM FOUND. I'm leaving the question here, though, in case others run into the same problem I ran into. It looks like I encountered a bug or a weird feature in WinZip 11. When I double click the test2.zip file to see its contents, WinZip tells me the path to the data file is "allcapsname" in...

6
голосов
2ответов
16097 просмотров

SQL Server Data Archive Solution

I'm looking for a solution to archive data that exists in my database. My database is SQL Server 2008 and have approximately 250 tables. I search web and find the below link : http://www.dbazine.com/sql/sql-articles/charran13/ but this solution is not clear I don't know that is there a direct w...

1
голосов
2ответов
2836 просмотров

C#: Archiving a File into Parts of 100MB

In my application, the user selects a big file (>100 mb) on their drive. I wish for the program to then take the file that was selected and chop it up into archived parts that are 100 mb or less. How can this be done? What libraries and file format should I use? Could you give me some sample c...

5
голосов
3ответов
4099 просмотров

Linux: Unzip an archive containing files with the same name

I was sent a zip file containing 40 files with the same name. I wanted to extract each of these files to a seperate folder OR extract each file with a different name (file1, file2, etc). Is there a way to do this automatically with standard linux tools? A check of man unzip revealed nothing that...

2
голосов
3ответов
2610 просмотров

How to configure Hudson to archive empty folders

I have the following sample / test configuration that has Hudson create a directory of empty folders. Its then instructed to archive everything within that folder, except it will not match empty folders and ends up archiving nothing. Whats more annoying is that Hudson does not alert you that no...

3
голосов
4ответов
8826 просмотров

PHP library that can list contents of zip / rar files

Note: I NEED A LIBRARY not links to documentation about extensions my host doesn't have or want installed. The subject says it all. I don't need to extract any files for the moment (although that might be a nice addition to my web app later) I just need to list the contents of rar and zip archi...

0
голосов
2ответов
712 просмотров

Can not load an archived NSMutableArray into a new NSMutableArray

The App will save the NSMutableArray into a archive with no problems but as soon as I try and load the NSMutableArray back into a new NSMutableArray @ viewDidLoad the app will crash. I put a break point at the end of the code where "tempArray = [unarchiver decodeObjectForKey:kDataKey46];" and te...

10
голосов
2ответов
1859 просмотров

Only decompress a specific bzip2 block

Say I have a bzip2 file (over 5GB), and I want to decompress only block #x, because there is where my data is (block is different every time). How would I do this? I thought about making an index of where all the blocks are, then cut the block I need from the file and apply bzip2recover to it. ...

2
голосов
2ответов
1639 просмотров

Creating tar archive with national characters in Java

Do you know some library/way in Java to generate tar archive with file names in proper windows national codepage ( for example cp1250 ). I tried with Java tar, example code: final TarEntry entry = new TarEntry( files[i] ); String filename = files[i].getPath().replaceAll( baseDir, "" ); entry.setN...

1
голосов
2ответов
1543 просмотров

Enabling archive engine

How do I enable archive storage engine in MySQL?

0
голосов
3ответов
2604 просмотров

Command to Bulk Compress All Files / Folders Under a Directory

I'm looking for a command that will compress every folder within a directory separately with the name of each archive reflecting the original folder name. I know that tar czvf example.tar.gz example/ will compress an entire folder. However, I have not found a command to bulk archive. Is there s...

2
голосов
3ответов
16273 просмотров

Bash script to archive files and then copy new ones

Need some help with this as my shell scripting skills are somewhat less than l337 :( I need to gzip several files and then copy newer ones over the top from another location. I need to be able to call this script in the following manner from other scripts. exec script.sh $oldfile $newfile Can...

35
голосов
4ответов
50015 просмотров

Programmatically extract tar.gz in a single step (on Windows with 7-Zip)

Problem: I would like to be able to extract tar.gz files in a single step. This makes my question almost identical to this one: Stack Overflow question for tar-gz. My question is almost the same, but not the same, because I would like to do this on windows using 7-Zip command-line (or something...

7
голосов
7ответов
15180 просмотров

c# sharpziplib adding file to existing archive

am trying to add a file to an existing archive using the following code. When run no errors or exceptions are shown but no files are added to the archive either. Any ideas why? using (FileStream fileStream = File.Open(archivePath, FileMode.Open, FileAccess.ReadWrite)) using (ZipO...

3
голосов
2ответов
1447 просмотров

C# SharpZipLib strips irrelevant directory names

I am using SharpZipLib to zip up a folder with subdirectories and this is working fine. What I would like to do is strip off the parents directories of the first child file so the whole structure that is irrelevant isn't carried forth... Example: c:\a\b\c\d\e\f\g\h\file1.txt c:\a\b\c\d\e\f\g\h\fi...

2
голосов
2ответов
737 просмотров

Php: How to handle file processing and download operations in a single script?

In a single script, I need to do the following: create a zip out of files in a directory force the download of the newly create zip My problem is that whenever I try to do this in a single script, the downloaded zip is corrupted (filesize is ok though). If I trig the processes in two separate...

1
голосов
2ответов
1047 просмотров

Actionscript 3: Solution for reading TAR archives?

Is there an as3 solution for extracting file content from uncompressed tar files around? / Jonas

4
голосов
1ответов
1366 просмотров

Archive/Unarchive UIWebView?

I would like to save the current state of an UIWebView to disk in IPhone SDK. I have a UIWebView that loads a website with lots of javascript. I would like to save the UIWebView state, maintaining the state of the javascript variables, http cookies, etc. at that moment. Then at a later time, I ...

6
голосов
5ответов
2610 просмотров

C/C++ Packing and Compression

I'm working on a commercial project that requires a couple of files to be bundled (packed) into an archive and then compressed. Right now we have zlib in our utility library, but it doesn't look like zlib has the functionality to compress multiple files into one archive. Does anyone know of free ...

0
голосов
3ответов
323 просмотров

Old Version of SuperWaba

I was searching for the old versions of SuperWaba, but i can't found anyone on internet, because the newer versions of SuperWaba are commercial, but the old versions are free, then if someone have the SuperWaba SDK free version on archive, please post it here. Thanks!

10
голосов
7ответов
5555 просмотров

TAR encode/decode library for iPhone (ideally cocoa)

Does anyone know of any library/code that will enable me to encode and decode .tar formatted data - that I can use in my iPhone project (preferably cocoa) Thanks in advance Craig UPDATE: I've taken a look at the suggested libraries and come to the conclusion that they are making waaaay to much...

25
голосов
6ответов
44672 просмотров

Create .ipa for iPhone

I developed one application for iPhone. After I build I got .app file in build folder. My application name is Myapp, then i got Myapp.app file in the build folder. My problem is i want to create the .ipa file. how is that.. it is for to install jailbraked iPhone..

30
голосов
5ответов
16481 просмотров

Manipulate an Archive in memory with PHP (without creating a temporary file on disk)

I am trying to generate an archive on-the-fly in PHP and send it to the user immediately (without saving it). I figured that there would be no need to create a file on disk as the data I'm sending isn't persistent anyway, however, upon searching the web, I couldn't find out how. I also don't care...

0
голосов
2ответов
218 просмотров

Archive Builder PHP

Before i start id like to say ive posted this question as more of a discussion rather than Problem Question. In my Database i have news posts lets say with 3 columns (Id, title, date). Wher Id and title are self Explanitory the date is stored in mktime() values, in other words the number of seco...

6
голосов
3ответов
4092 просмотров

Decompression and extraction of files from streaming archive on the fly

I'm writing a browser plugin, similiar to Flash and Java in that it starts downloading a file (.jar or .swf) as soon as it gets displayed. Java waits (I believe) until the entire jar files is loaded, but Flash does not. I want the same ability, but with a compressed archive file. I would like to ...

247
голосов
25ответов
305473 просмотров

How to create a zip archive with PowerShell?

Is it possible to create a zip archive using PowerShell?

0
голосов
3ответов
2151 просмотров

Есть ли утилитка unshar для windows?

Время от времени мне нужно извлечь содержимое файла Shar. И мне нужно подождать, чтобы получить доступ к ящику * nix для получения файлов. И мне было интересно, есть ли утилита unshar для windows. Я могу установить пакет cygwin, но думаю, что это слишком много для извлечения файлов время о...

0
голосов
1ответов
597 просмотров

Заменить jar-файл внутри уха, используя Emacs archive-mode

Я только что узнал, что режим архива emacs позволяет мне легко редактировать файлы, такие как web.xml, в ухе, но мне интересно, есть ли у меня обновленный файл jar, могу ли я использовать emacs для замены старого jar в этом ухе с помощью команды: линейный emacs? (Мне нужно использовать ssh на се...

0
голосов
1ответов
192 просмотров

архивный формат с использованием XML

Я генерирую код, используя XSLT, но сгенерированные источники должны быть локализованы в наборе отдельных файлов. Есть ли инструмент / формат (на основе XML?), Который можно было бы использовать для хранения файлов в формате jar / ar / tar. Я думаю примерно так: <?xml version="1.0"?> ...

2
голосов
3ответов
789 просмотров

Блог PHP, нужно сделать красивый раздел архивов

Итак! В основном у меня есть база данных с множеством сообщений в блогах, все они отсортированы по метке времени UNIX, и мне нужен способ заставить этот код выдавать заголовки, когда это необходимо, чтобы он выводил что-то вроде этого: 2008 ноябрь Заголовок 1. Свидание наступает Заголо...