What is the problem you are having with rclone?
I am trying to use the "rclone sync" command to sync the contents from my google drive to a NAS. The contents of the Google Drive exist in the "Computers" section of Google Drive (since they are being originally sourced from laptop), but this is so that files from my Google Drive can be downloaded to the NAS even while I am not home. How do I call upon directory?
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 238.5G 0 disk
└─sda1 8:1 0 238.5G 0 part /media/pi/Branch1
mmcblk0 179:0 0 119.4G 0 disk
├─mmcblk0p1 179:1 0 512M 0 part /boot/firmware
└─mmcblk0p2 179:2 0 118.9G 0 part /
Run the command 'rclone version' and share the full output of the command.
rclone v1.68.2
- os/version: raspbian 12.8 (64 bit)
- os/kernel: 6.6.62+rpt-rpi-2712 (aarch64)
- os/type: linux
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.23.3
- 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
)
rclone sync gdrive:Documents /dev/sda1
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[gdrive]
type = drive
scope = drive.readonly
team_drive =
token = XXX
### Double check the config for sensitive info before posting publicly
A log from the command that you were trying to run with the -vv
flag
2024/12/09 05:40:27 DEBUG : rclone: Version "v1.68.2" starting with parameters ["rclone" "sync" "gdrive:Documents" "/dev/sda1" "-vv"]
2024/12/09 05:40:27 DEBUG : Creating backend with remote "gdrive:Documents"
2024/12/09 05:40:27 DEBUG : Using config file from "/home/erikg/.config/rclone/rclone.conf"
2024/12/09 05:40:27 DEBUG : Google drive root 'Documents': 'root_folder_id = 0ACVvxQv59wrwUk9PVA' - save this in the config to speed up startup
2024/12/09 05:40:27 DEBUG : Creating backend with remote "/dev/sda1"
2024/12/09 05:40:27 ERROR : : failed to open directory "": open /dev/sda1: permission denied
2024/12/09 05:40:27 ERROR : Google drive root 'Documents': error reading source root directory: directory not found
2024/12/09 05:40:27 DEBUG : Local file system at /dev/sda1: Waiting for checks to finish
2024/12/09 05:40:27 DEBUG : Local file system at /dev/sda1: Waiting for transfers to finish
2024/12/09 05:40:27 ERROR : Local file system at /dev/sda1: not deleting files as there were IO errors
2024/12/09 05:40:27 ERROR : Local file system at /dev/sda1: not deleting directories as there were IO errors
2024/12/09 05:40:27 ERROR : Attempt 1/3 failed with 2 errors and: directory not found
2024/12/09 05:40:27 ERROR : : failed to open directory "": open /dev/sda1: permission denied
2024/12/09 05:40:27 ERROR : Google drive root 'Documents': error reading source root directory: directory not found
2024/12/09 05:40:27 DEBUG : Local file system at /dev/sda1: Waiting for checks to finish
2024/12/09 05:40:27 DEBUG : Local file system at /dev/sda1: Waiting for transfers to finish
2024/12/09 05:40:27 ERROR : Local file system at /dev/sda1: not deleting files as there were IO errors
2024/12/09 05:40:27 ERROR : Local file system at /dev/sda1: not deleting directories as there were IO errors
2024/12/09 05:40:27 ERROR : Attempt 2/3 failed with 2 errors and: directory not found
2024/12/09 05:40:27 ERROR : : failed to open directory "": open /dev/sda1: permission denied
2024/12/09 05:40:27 ERROR : Google drive root 'Documents': error reading source root directory: directory not found
2024/12/09 05:40:27 DEBUG : Local file system at /dev/sda1: Waiting for checks to finish
2024/12/09 05:40:27 DEBUG : Local file system at /dev/sda1: Waiting for transfers to finish
2024/12/09 05:40:27 ERROR : Local file system at /dev/sda1: not deleting files as there were IO errors
2024/12/09 05:40:27 ERROR : Local file system at /dev/sda1: not deleting directories as there were IO errors
2024/12/09 05:40:27 ERROR : Attempt 3/3 failed with 2 errors and: directory not found
2024/12/09 05:40:27 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 2 (retrying may help)
Elapsed time: 0.7s
2024/12/09 05:40:27 DEBUG : 6 go routines active
2024/12/09 05:40:27 NOTICE: Failed to sync with 2 errors: last error was: directory not found