11,106 questions
3
votes
2
answers
147
views
Powershell can't delete file it opened
I wrote this code below. and it is throwing the error
Cannot remove item BLAHBLAH: The process cannot access the file 'BLAHBLAH' because it is being used by another process.
As SOON as the overall ...
-1
votes
1
answer
120
views
PowerShell conditional execution
I wrote this (ignore the 'LOCATION!!!' )
$zipInputFolder = LOCATION!!!
$zipOutputFolder = LOCATION!!!
$archivePath = LOCATION!!!
$zipFiles = Get-ChildItem $zipInputFolder -Filter *.zip
foreach ($...
Advice
0
votes
7
replies
122
views
With Excel VBA, creating a ZIP folder with all files in a specific folder
I have a macro that creates an upload file (csv) in a specific folder.
The next step is to create a zip file that includes the csv file and some other attachments referenced in the csv file.
I've ...
Advice
0
votes
1
replies
80
views
Speeding up unzipping of file in Google Cloud Storage (GCS)
I receive ZIP files everyday to a bucket. Part of my Python pipeline is to extract these out into the individual CSVs. However, wondering if there's a quicker way?
There's roughly 20 files in each ZIP,...
5
votes
1
answer
197
views
`Compress-Archive` with the `-Update` parameter erases the archive when given an empty list
I need to create a ZIP archive from a directory (data) with the following properties:
A specific file (.foo) needs to be the first item in the archive, uncompressed
The remaining files, if any, need ...
1
vote
0
answers
36
views
Node.js back-pressure documentation - what's the relevance of their example?
The Node.js Backpressure in Streams documentation begins with an example that compares the use of the zip(1) utility with a Node.js script that uses a simple stream to achieve the same result.
A good ...
1
vote
0
answers
62
views
Generating a virtual image for an Electron application
I’m trying to replace a the content of an image URL with the result of a custom protocol. The idea is to get the data from a zip file.
The img element looks something like this:
<img src="...
2
votes
1
answer
90
views
Can initial similarity between 2 files create similarity in the start of their Deflate compressed output?
Assuming we have 2 files:
FILE 1
Uncompressed size: 793765 bytes
Compressed size: 604911 bytes
Data type: 99% Base64
Compression method : deflate dynamic
FILE 2
Uncompressed size: 793765 ...
15
votes
7
answers
2k
views
Exchange a file in a ZIP file quickly
In a Java program, I need to exchange files in a large ZIP file quickly.
So if a.txt is a file inside b.zip I want to replace the a.txt with a new version of a.txt inside b.zip. It should happen in a ...
0
votes
0
answers
47
views
Why mime_type starts with application file download automatically when I clicked
<ui5-list
growing="Scroll"
class="h-full list-border-bottom"
mode="Single"
(ui5ItemClick)="selectFile($event)">
<ui5-upload-...
0
votes
1
answer
132
views
java.io.IOException: request to write bytes exceeds size in header of bytes for entry make more robust
I'm trying to convert a zip into a TAR. For this I'm using a visitor, but sometimes when I'm doing the conversion I have a:
Caused by: platform.kernel.io.compresser.CompresserException:
at ...
2
votes
3
answers
193
views
How can I read multiple csv files from within multiple zip files with sometimes different columns using R fread?
I'm trying to read in a lot of data as efficiently as possible; the data are in about 1,400 CSV files within 6 individual ZIP files. The CSV files are all similar timeseries data with the same columns,...
0
votes
0
answers
33
views
Error trying to upload images to Google Colab after unzipping a ZIP file
I'm working on a computer vision project in Google Colab. I uploaded a ZIP file with several images sorted by folder.
After unzipping the file using zipfile, I try to upload the images with ...
2
votes
0
answers
72
views
File does not have a stream with WriteToDirectory with .7zip
at my job we use this method for an automated job that is trigger when .7zip files are put inside a specific folder:
public void Executer(ref string pChaineContexte, XdCuContexteTravail pContexte)
...
0
votes
1
answer
116
views
Laravel zip file not downloading
I have a function to download a zip file with or without folders based on the file_type_id. However when file_type_id is 1 my server is returning a empty 200 response. When i look at the temp folder i ...