Best way to zip up folders on remote?

What is the problem you are having with rclone?

Not a problem as such. I want to zip up (no compression) folders that are stored in remote (Google Drive) to reduce the file count. zip/tar/gz because Google Drive Web UI supports preview for those archives.

Run the command 'rclone version' and share the full output of the command.

- os/version: debian 11.6 (64 bit)
- os/kernel: 5.10.0-21-cloud-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

This is what I'm looking for... I heard of a piping based command, would like to know more and try that out.

The rclone config contents with secrets removed.

~$ rclone config show
Enter configuration password:
password:

[GDrive]
type = drive
client_id = x.apps.googleusercontent.com
client_secret = 
token = 
team_drive = x
root_folder_id = 

[rGDrive]
type = crypt
remote = Gdrive:folderpath
password = x
password2 = x-x

Any help here? :slight_smile:

hello and welcome to the forum,

zipping files using rcat and other techniques have been discussed in the forum a number of times.
https://rclone.org/commands/rclone_rcat/

or could run rclone mount and use any zip tool.

the files that you want to zip, are they from GDrive or rGDrive?
if from rGDrive, then filenames are crypted, and i would assume the gdrive web ui would not be of much use?

I did check the rcat link but didn't see any example that fit my use case. The article seems like a stubby.

Can I zip up 100+gib folders using rclone mount on a computer with just 15gb local disk? How is caching handled? (Computer has 10+gbps internet though)

https://forum.rclone.org/t/need-help-uploading-very-large-folders-larger-than-free-space/24574
https://forum.rclone.org/t/rclone-encryption-to-individual-zip-7z-archives/19371
https://forum.rclone.org/t/rclone-compression-zip-rar-and-data-transfer/30942

do not think so.

could rent a cheap cloud vm from gdrive, run rclone mount on that.

I think outgoing traffic from Gcloud VM to Gdrive is free of charge.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.