pmqs / fix-onedrive-zip Goto Github PK
View Code? Open in Web Editor NEWFix OneDrive Zip files >4Gig
Fix OneDrive Zip files >4Gig
Fix-OneDrive-Zip-master $ ./fix-onedrive-zip Pantelis.zip
Checking 'Pantelis.zip'
Cannot read from 'Pantelis.zip':
Good. We got there in the end.
Originally posted by @pmqs in #3 (comment)
Is there an output for that last command?
I didnt find a new folder there and i couldnt unzip it from files either... so what do i do next to access my files?
Hi. Thanks for this invaluable fix! Unfortunately, it is not working for me. I have three zip files created by OneDrive that won't unzip and when I run:
perl fix-onedrive-zip filename1.zip
I get the error:
Error: bad offset 0xBAC696C1 at end of 'filename1.zip'
Apologies if I missed an explanation of this in the ReadMe, but am not sure if there is a way to resolve this.
Hello, I am sort of new to using Terminal. How do I get this running on my Mac? I tried "fix-onedrive-zip [filename]" and it said "command not found".
Thanks for making this script available - saved my day!
Un-be-lievable that Microsoft does not fix this bug.
Hi all,
I am try to running this script on Windows 10 on a .zip file that gives "Warning: 32-bit overflow in headers" but it gives me this error
"perl fix-onedrive-zip 1.zip
Checking '1.zip'
Error: bad offset 0x1532FDFA at end of '1.zip'"
Can you help me please?
Thanks!
Hi,
I just found this script and was hoping it would work for a zip file I downloaded from OneDrive but I got the above mentioned error.
The original error I got while trying to unzip using 7zip was: "unexpected end of data" or "the compresses zipped folder is invalid" from the Windows utility.
Do you have any thoughts?
Thanks,
Noe
There have been a couple of Windows users who have had difficulty in running the script.
Can use this reply below as the starting point for some new documentation
This tool is run from a Windows terminal shell, like cmd or PowerShell.
Start by downloading the code from GitHub onto your Windows box. You only need to download the file "fix-onedrive-zip"
To run my code on Windows you first need to check if you have Perl installed. For Linux systems this isn't an issue, because they all ship with one. On Windows you need to install one, if you don't already have it.
To find out, run up cmd (type Windows-R, the type cmd). You should now be a terminal window. Type "perl -v"
On my setup it prints this
C:\Users\xx>perl -v
This is perl 5, version 30, subversion 1 (v5.30.1) built for MSWin32-x64-multi-thread
Copyright 1987-2019, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
If you don't get that, install one of the Windows Perl distributions. http://strawberryperl.com/ is a good choice. Pick the 64-bit option & install. (http://strawberryperl.com/download/5.32.0.1/strawberry-perl-5.32.0.1-64bit.msi)
Finally, to fix your file, copy my script to the same directory as your zip file, then open a cmd terminal in that directory and run --
perl fix-onedrive-zip yourfile.zip
Thanks for your script but its not working. After I run the command, it says "Updated myfile.zip" but when I go back to my directory and try to unzip it, I get the message "Before you can extract files, you must copy files to this compressed (zipped) folder. Please help me!
I am relatively new at ubuntu and i have done everything i know.
And still i cant seem to get how to run the script.....
Any advice is much appreciated
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.