What is the problem you are having with rclone?
Unable to run upload script with --drive-stop-on-upload-limit. It works fine if I remove this tag.
What is your rclone version (output from rclone version
)
rclone v1.49.2
- os/arch: linux/amd64
- go version: go1.12.9
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Linux, it is a seedbox unsure of the version and distro it could be Ubuntu or debian
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
)
Paste command here
///
#!/bin/bash
set -e
RClone Config file
RCLONE_CONFIG=/opt/rclone/rclone.conf; export RCLONE_CONFIG
RCLONE_USER_AGENT=sheldon; export RCLONE_USER_AGENT
Local Drive - This must be a local mount point on your server that is used for the source of files
WARNING: If you make this your rclone Google Drive mount, it will create a move loop
and DELETE YOUR FILES!
Make sure to set this to the local path you are moving from!!
LOCAL=/home/sheldon/local
Exit if running
if [[ $(pidof -x "$(basename "$0")" -o %PPID) ]]; then
echo "Already running, exiting..."; exit 1; fi
Check for excludes file
if [[ ! -f /home/sheldon/scripts/excludes ]]; then
echo "excludes file not found, aborting..."; exit 1; fi
Is $LOCAL actually a local disk?
if /bin/findmnt $LOCAL -o FSTYPE -n | grep fuse; then
echo "FUSE file system found, exiting..."; exit 1; fi
Move older local files to the cloud...
I added in 3 days to let the files sit a few days so Plex intro anaylsis can happen locally
/usr/bin/rclone move $LOCAL gdrive: --log-file /home/sheldon/scripts/rclone-upload.log -v --exclude-from /home/sheldon/scripts/excludes --delete-empty-src-dirs --fast-list --drive-stop-on-upload-limit --min-age 1m
///
The rclone config contents with secrets removed.
Paste config here
///
[gdrive]
type = drive
client_id = [ ]
client_secret = [ ]
scope = drive
root_folder_id = [ ]
token = [ ]
///
A log from the command with the -vv
flag
Paste log here
///
sheldon@hera:~/scripts$ ./rclone-upload.sh --verbose --stats 1s
Error: unknown flag: --drive-stop-on-upload-limit
Usage:
rclone move source:path dest:path [flags]
Flags:
--create-empty-src-dirs Create empty source dirs on destination after move
--delete-empty-src-dirs Delete empty source dirs after move
-h, --help help for move
Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.
2021/08/15 21:49:47 Fatal error: unknown flag: --drive-stop-on-upload-limit
///