FAQ Database Discussion Community


Job log management system

logging,archive
I’m looking for recommendations for a software to store a large number of logs from daily batch jobs run in a couple of different enterprise scheduling systems. After perhaps a year, the logs no longer need to be directly accessible via these scheduling systems, but it is still important that...

Search for file in archive and load it into memory

c++,memory,archive,ram
Basically I need to load a file within an archive into memory, but since the user is able to modify the contents of the archive it is very likely that the file offset will change. So I need to create a function that searches the archive for a file with...

MySQL PHP: Blog Post Archive Drop Down Menu

php,mysql,archive
I am new to MySQL as well as PHP and just had a few questions. Currently I am trying to create an archive menu for my posts that are looked up in my MySQL DB named "posts". It should look like, 2010 (2) September (2) Bellavisa Mists of Netting July...

Python zipfile creating .pyc file not .zip archive

python,zip,archive
I can't find any info on this but when I try and create a zip archive in Python it creates a .pyc instead. #!/Python27/python import zipfile z = zipfile.ZipFile('test.zip', 'w') z.write('README.txt') z.close() This is the result of running the script. What am I doing wrong here? ...

Xcode Archive Error

ios,xcode,swift,archive
When i try to archive me app in Xcode, it gives me an error that i don't have a provisioning profile. how do i get one. i have an IOS Development account. I tried to upload a distribution certificate, but it did not work. why? The Error says... XCode attempted...

7zip files in all folders (Multiple archives )

file,batch-file,archive,folders,7zip
Does anyone know how to make 7zip recursively archive all files in a folder for all parent folders. Currently i have this: for /d %%X in (C:\Users\mikejoh\Desktop\Modst\Ziptest\*) do "c:\Program Files\7-Zip\7z.exe" a "%%X\*.7z" "%%X\win\*" But that only takes the Parent folders and zips them in the same location... i believe i...

Add folder contents to .rar through console commands without adding folder itself

cmd,console,archive,rar,winrar
Here's a question: I have a folder named Root and it contains some files and folders. Using Winrar console commands, I need to create an archive Root.rar that should contain entire file/folder structure of Root and SHOULDN'T contain Root folder itself. For example: On drive: Root- |-SomeFile |-SomeFolder- |-SomeOtherFile In...

Archiving scripts to run daily on SQL Server 2012 Express in order to maintain good performance

sql-server,database,archive,sql-server-2012-express
I have a situation whereby I recieve many rows of transactional data from a hardware device. I analyze this data and turn the previous day's data into a report. As a result, my application is often combing the entire table to generate reports, but it only really needs to deal...

Archiving mysql data throwing memory limit issue

php,mysql,arrays,out-of-memory,archive
I have multiple tables. like table1, table2, table3, etc. What is required: 1. fetch specific row from table1. (for ex: id = 203) 2. fetch all values related to id 203 from table2 (ex: 1,2,3,4,5,6,7....500) 3. again fetch all values of ids from step 2 from table3,table4, etc which have...

How to create folder, files in this folder, compress folder (in zip or rar file) and upload this to the desktop with Javascript?

javascript,file-upload,folder,archive
For a web application, an user must be able to export an html file with css stylesheet of choice (proposed by the application) on his desktop. A unique button for export : on click, a "Save as" dialog window appears for choose a destination on desktop. The file must have...

Can emacs show an image in a zip archieve file in org-mode

image,emacs,zip,archive,org-mode
In emacs org-mode with iimage-mode enabled, it can show an inline image from a relative file path, like: [[file:images/foo.jpg]] What I want is: how can it shows an image locates in an zip archive, like this: [[file:images.zip/foo.jpg]] Is there a way to do this?...

Should I use .tar.gz?

c++,compression,archive
In the Unix world, there is a famous format called "tar.gz". But now, I want to develop a game and random accessing a file will be more efficient. If it is archived first, it will cause sequential access. I know that there is an alternative format called zip or 7z,...

Conditional text for certain categories within taxonomy.php

wordpress,conditional,archive,taxonomy,easy-digital-downloads
I am building a Wordpress site using 'Easy Digital Downloads'. The downloads have their own 'categories'. To display an archive of those categories (different from the standard archive.php) I am using a template called taxonomy-download_category.php as specified in their documentation. This works perfectly and I can set up the category...

Lost Attachments using Sharepoint 2010 Content and Structure List Item Move

list,sharepoint,sharepoint-2010,archive,splistitem
TL;DR: Recently during a bulk move of list items from one list to another, many list item attachments didn't get moved with the items. I'm wondering what can cause this. The SharePoint 2010 Content and Structure move process is not very transparent and there are no logs that I know...

Unzip the archive with more than one entry

linux,curl,zip,pipe,archive
I'm trying to decompress ~8GB .zip file piped from curl command. Everything I have tried is being interrupted at <1GB and returns a message: ... has more than one entry--rest ignored I've tried: funzip, gunzip, gzip -d, zcat, ... also with different arguments - all end up in the above...