Bisync a single file?

What is the problem you are having with rclone?

I would like to use rclone to synchronize single files between my local machine and Google Drive.

Rambling through documentation, I see that some rclone commands accept a single file for the source / Path1.
Is this the case for bisync ?

If so, is it true for both a --resync run and a non-resync run ?

Thanks for your time.

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

rclone v1.61.1
- os/version: darwin 12.5.1 (64 bit)
- os/kernel: 21.6.0 (arm64)
- os/type: darwin
- os/arch: arm64
- go/version: go1.19.4
- go/linking: dynamic
- 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)

rclone bisync /Users/jag/scripts/rclone_scripts/test/resyncTest/TestFile.txt GooDrive:/ScriptTests/resyncTest -vv

The rclone config contents with secrets removed.

[GooDrive]
type = drive
client_id = ...
client_secret = 
scope = drive
token = {"..."}
team_drive = 

A log from the command with the -vv flag

2023/01/03 15:57:51 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "bisync" "/Users/jag/scripts/rclone_scripts/test/resyncTest/TestFile.txt" "GooDrive:/ScriptTests/resyncTest" "-vv"]
2023/01/03 15:57:51 DEBUG : Creating backend with remote "/Users/jag/scripts/rclone_scripts/test/resyncTest/TestFile.txt"
2023/01/03 15:57:51 DEBUG : Using config file from "/Users/jag/.config/rclone/rclone.conf"
2023/01/03 15:57:51 DEBUG : fs cache: adding new entry for parent of "/Users/jag/scripts/rclone_scripts/test/resyncTest/TestFile.txt", "/Users/jag/scripts/rclone_scripts/test/resyncTest"
2023/01/03 15:57:51 DEBUG : Creating backend with remote "GooDrive:/ScriptTests/"
2023/01/03 15:57:51 DEBUG : GooDrive: Loaded invalid token from config file - ignoring
2023/01/03 15:57:51 DEBUG : Saving config "token" in section "GooDrive" of the config file
2023/01/03 15:57:51 DEBUG : GooDrive: Saved new token in config file
2023/01/03 15:57:52 DEBUG : Google drive root 'ScriptTests': 'root_folder_id = 0AKp6L1blj0QVUk9PVA' - save this in the config to speed up startup
2023  /01/03 15:57:52 DEBUG : fs cache: renaming cache item "GooDrive:/ScriptTests/" to be canonical "GooDrive:ScriptTests"
Error: paths must be existing directories

cheers
-jg-

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