How to down load google drive zip file?

wm460

Active Member
Joined
Apr 24, 2024
Messages
148
Reaction score
73
Credits
991
I was sent a file with a lot of photos in it, unfortunately it was google drive zip file.
Is there any way to open and save these on Linux mint?
 


You click on link to G drive and then download button should appear when you click zip file.
 
Yes, you can use zipped files from Google drive.

Typically you just open the link in your internet browser, that should take you to the file hosted on Google drive.

As long as the owner has set the sharing permissions to "anybody with the link", there should be a download icon somewhere in the top-right of the page and you should be able to download the .zip file.

Once you’ve downloaded the .zip file to somewhere on your PC, you can extract the files in the GUI by right clicking on the .zip in your file-explorer and selecting ‘extract to…’ or ‘extract here’, or ‘open with xxx’. Where xxx is your desktops default GUI program for dealing with zipped archives (e.g. ‘file-roller’ for Gnome etc).

I don’t know offhand which programs are used by the various editions of Linux Mint.
But .zip files should be supported out of the box.

Alternatively, you could open a terminal, cd to the location of the zip file and use something like gunzip to extract/decompress the files:
Bash:
gunzip -S .zip file.zip
Where file.zip is the name of the .zip file you downloaded.
 
It's all very straight-forward. Just download the zipped file, then deal with it once you have it.

I've never come across a Linux distro yet that can't deal with a .zip file, OOTB. The fact that it's a "Google Drive" .zip file is irrelevant. It's still just a standard .zip file. Big Brother does this to make downloading a large amount of stuff easier for YOU, plus it keeps the file size down too. Less bandwidth all round for everyone.

MEGA.nz do the same thing, as will DropBox.


Mike. ;)
 
Alternatively, you could open a terminal, cd to the location of the zip file and use something like gunzip to extract/decompress the files:
Bash:
gunzip -S .zip file.zip
Where file.zip is the name of the .zip file you downloaded.
Unfortunately the gunzip command will not work here in debian on all .zip files, whereas the unzip command does work. The example used was a .zip file from github of interest here:
Code:
$ gunzip -S .zip minimal-master.zip
gzip: minimal-master.zip has more than one entry -- unchanged

The unzip command works:
Code:
$ unzip minmal-master.zip
Archive:  minimal-master.zip
8a6b0777913195de466fb294740292187ad4e5e8
   creating: minimal-master/
   creating: minimal-master/.github/
<snip>
 
Unfortunately the gunzip command will not work here in debian on all .zip files, whereas the unzip command does work. The example used was a .zip file from github of interest here:
Code:
$ gunzip -S .zip minimal-master.zip
gzip: minimal-master.zip has more than one entry -- unchanged

The unzip command works:
Code:
$ unzip minmal-master.zip
Archive:  minimal-master.zip
8a6b0777913195de466fb294740292187ad4e5e8
   creating: minimal-master/
   creating: minimal-master/.github/
<snip>
Ooops! Sorry about that! For some reason, I thought unzip was just a symbolic link to gunzip on Debian…. :/. Looking again, they are completely separate executables.

If I’m completely honest, I’ve been using dtrx (AKA Do The Right Extract) for extracting compressed files in the terminal since 2007/8. Dtrx is a python based CLI tool that can extract virtually any compressed archive formats, as long as you have all of the relevant tools installed for each file-type you want to extract.

The advantage of dtrx is it deals with invoking the appropriate tools for the file-type you’re dealing with. So you don’t have to remember all of the various commands and command-line options for each file-formats toolset.
To use dtrx is as simple as:
Bash:
dtrx /path/to/file.ext

Where /path/to/file.ext is the path to a compressed file format.
E.g.
./backup.zip

You can also list different files with different extensions and extract them all in a single operation:
Code:
dtrx ~/Downloads/*.{zip,tar.gz,7z}
Above would extract ALL files in ~/Downloads that have .zip, .tar.gz and .7z extensions. And dtrx will invoke the appropriate tools to decompress/extract each file/archive.

Since starting to use dtrx, I haven’t manually extracted anything for a very long time! :/.
Maybe I should have mentioned dtrx in my first post?!

Gunzip is more for single files, usually used to unzip tar files (tar.gz). For some reason, I thought it worked on standard zip files too! :/

Btw: If anybody is interested, the github for dtrx is here:
 


Members online


Top