Comments (10)
I am relatively new at ubuntu and i have done everything i know.
- chmod +x /home/nandan/Downloads/Fix-OneDrive-Zip-master/fix-onedrive-zip
- installing perl, mysql
And still i cant seem to get how to run the script.....
Any advice is much appreciated
The script should run on any platform that has a Perl binary installed (my test harness on GitHub tests it on Linux, Windows & MacOS). Ubuntu comes preinstalled with perl
, so you shouldn't have to install it. mysql
isn't needed for this script.
Something like this should be enough to run the script, assuming you have copied the script to /home/nandan/Downloads/Fix-OneDrive-Zip-master/fix-onedrive-zip
$ perl /home/nandan/Downloads/Fix-OneDrive-Zip-master/fix-onedrive-zip yourfile.zip
or this
$ chmod a+x /home/nandan/Downloads/Fix-OneDrive-Zip-master/fix-onedrive-zip
$ /home/nandan/Downloads/Fix-OneDrive-Zip-master/fix-onedrive-zip yourfile.zip
If that doesn't work can you post the complete output you get when try to run the script -- I need to see any the error messages that are output.
from fix-onedrive-zip.
This is what i get...
from fix-onedrive-zip.
This is what i get...
The error you are getting is saying that my script cannot find the zip file you want fixed.
What is the exact name of the zip file you want to fix and what directory is it in? You have tried running with both Unzip.zip
and unzip.zip
. In Linux that maps to two different files -- filenames in Linux are case sensitive.
Is the zip file you want to fix in the current directory? The way you are running the script assumes that it is.
Try running the script with the absolute path to the zip file. Assuming your zip file is /full/path/to/unzip.zip
, run this
$ perl home/nandan/Downloads/Fix-OneDrive-Zip-master/fix-onedrive-zip /full/path/to/unzip.zip
Alternatively, cd
into the directory where the zip file is stored an run the script like this
$ cd /directory/with/the/zip/file
$ ls -l
$ perl home/nandan/Downloads/Fix-OneDrive-Zip-master/fix-onedrive-zip unzip.zip
from fix-onedrive-zip.
All of this is in the downloads folder
from fix-onedrive-zip.
Fyi fix-onedrive-zip-master is the extracted file from here
I also tried
fix-onedrive-zip [--dry-run] Recordings.zip
after verifying i had perl and that i had run the script using
perl fix-onedrive-zip
Also sorry if i missed something.... This is my 5th day on linux
from fix-onedrive-zip.
The Downloads
folder is usually a sub-directory off you home directory, so try this
$ perl ~/Downloads/Fix-OneDrive-Zip-master/fix-onedrive-zip ~/Downloads/Unzip.zip
$ unzip -t /Downloads/Unzip.zip
from fix-onedrive-zip.
from fix-onedrive-zip.
sorry - missed a ~
-- the unzip
command should look like this
$ unzip -t ~/Downloads/Unzip.zip
from fix-onedrive-zip.
Yeah i think that worked.
Thank you so much for your help...
Regards,
Nandan
from fix-onedrive-zip.
Good. We got there in the end.
from fix-onedrive-zip.
Related Issues (9)
- Add some guidance on running the script on a Windows environment HOT 6
- Error: No such file or directory HOT 6
- Error: Cannot find Zip signature at end of *.zip HOT 2
- Hi, just one more question... HOT 3
- "Error: bad offset 0x1532FDFA at end of '1.zip'" HOT 6
- How to Run on Mac? HOT 7
- Cannot find zip signature at the end of the file! HOT 9
- Thank you! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fix-onedrive-zip.