Questions tagged [rclone]

98 questions
0
votes
1 answer

How to make inotifywait runs command in queue?

How to make inotifywait runs command in queue? According to this script that moves file automatically right after it is created cd "a specific folder" inotifywait -me close_write --format %f . | while read file do rclone move "$file"…
0
votes
2 answers

How can I use a volume name instead of a drive letter with rclone on windows?

Is it possible to use a volume name with rclone on windows instead of a drive letter? And if so, how? Reading the documentation on rclone, I can only find examples for linux. But it seems it should be possible given that rclone is also able to mount…
lakeside
  • 49
  • 6
0
votes
0 answers

Tracking Bytes Transferred when using Rclone Go library

I am trying to sync files using the go library for rclone. https://github.com/rclone/rclone/blob/master/fs/sync/sync.go err = sync.Sync(ctx, dstFs, srcFs, false) This method seems to only return an error while I'm trying to get additional metadata…
0
votes
2 answers

How to run a python library without installing it

I have to run a shell script on a Centos Linux machine that calls a python file. Inside the python file, there is the following code snippet: from lib.rclone import Rclone rclone = Rclone() if shutil.which("rclone") == None: print("Rclone…
Quala
  • 1
0
votes
1 answer

Rclone+Python - Retain the file permissions during the backup to the S3 bucket

I'm using the rclone with python. I want to persist the file permissions during the file transfer and then retain back during the restore. What is the best way to implement this? I don't see the "rclone mount" is the best solution for our transfer.…
suresh goud
  • 367
  • 1
  • 3
  • 19
0
votes
0 answers

How to avoid 500 server error when scaning a webdav drive folder mounted by rclone?

I want to get the folder list of a WebDAV drive. So I use rclone to mount it and then use find ./ -type d to scan the mounted drive. But I always get a 500 server error after scanning in a while. I guess it is caused because the webdav server can't…
T.T
  • 321
  • 2
  • 10
0
votes
1 answer

Why is my JSON request body showing as invalid when earlier, a similar request is working?

I have the following code snippet where I'm trying to send notification data to a discord webhook, but it is returning {"code": 50109, "message": "The request body contains invalid JSON."}%. Here is the non-working code (bolded the JSON request…
dezerving
  • 11
  • 3
0
votes
0 answers

Docker volume plugin: Where are the logs?

I am trying to learn how to utilize the RClone Docker plugin to declutter my mounting strategy. Since most of my storage is remote and not on-device, I had previously just used bind mounts to the actual Linux mounts which were provided via RClone…
Ingwie Phoenix
  • 2,703
  • 2
  • 24
  • 33
0
votes
1 answer

Rclone mount shared between containers in the same K8s pod

In my k8s pod, I want to give a container access to a S3 bucket, mounted with rclone. Now, the container running rclone needs to run with --privileged, which is a problem for me, since my main-container will run user code which I have no control of…
Luiz Tauffer
  • 463
  • 6
  • 17
0
votes
0 answers

Backup google drive workspace to local server

Automatically backup google drive to local server Hello, We use Google Workspace. I would like to find a way to automatically back up our files to Google on a local server via a cron job. I know doing a local backup to google drive is possible via…
grb
  • 15
  • 4
0
votes
0 answers

Rclone - Find destination folder automatically at upload to ftp

I have to upload around 40-50 piece of files (same extensions) to ftp, every day, to separated folders, where those file belongs. Im, complete newbie in scripting, I just got to know rclone and it's amazing what it can do. So I'm wondering is there…
Barcud
  • 1
  • 1
0
votes
0 answers

rclone configure google workspace storage remote to list shared drive contents

I am trying to setup a rclone remote with google drive storage provider I want to list / sync files from single / multiple shared team drives inside a workspace account with a service account. I have created a service account, Enabled Drive…
0
votes
1 answer

Systemd Wait for Mounts

My ultimate goal is to have docker wait for my mergerfs mount before it starts docker and for mergerfs to wait for 3 rclone mounts before it starts itself. I've tried 'requires' and bash script for 'execprestart' and 'requiresmountsfor', 'wants=',…
Danny Michel
  • 61
  • 1
  • 1
  • 11
0
votes
1 answer

Is there a maximum file size limit on GitLab?

My goal was to use a GitHub repo as a private server for updating an app I made (don't want to publish on a market, I want it remains private). However, the problem started because I had a large file that was above the GitHub file size limit, so I…
lordp
  • 7
  • 3
0
votes
0 answers

Monitor exit codes of multiple background processes on macOS gives error: pid not a child of this shell

I've tried reading multiple posts that seem related to this question, but I struggle to follow some of them and others don't seem to apply precisely to my problem. Please direct me to a post I may have missed otherwise. I am running multiple rclone…
jatx50
  • 65
  • 4