What is the problem you are having with rclone?
I have difficulty with the --exclude= path
Run the command 'rclone version' and share the full output of the command.
rclone v1.72.1
- os/version: nixos 25.11 (64 bit)
- os/kernel: 6.12.68 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.25.5
- go/linking: dynamic
- go/tags: cmount
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 copy gdrive_hello:/LOW-TECH_LAB --drive-export-formats ods,odt,odp nextcloud_LTL:/Google_Drive/LOW-TECH_LAB --exclude=/5\ -\ COMMUNAUTES/504\ -\ Archives/\[OLD\]COMMUNAUTE\ /A_LTL\ locaux/Low-tech\ Lab\ France/Low-tech\ Lab\ Grenoble/Groupes\ de\ travail/Projets\ PISTE/2023_LTLG_Fourbi-énergie/Drive\ du\ projet\ FourBi/Documentation\ \&\ recherches/Lytefire/FourBi/PISTE\ -\ Drive\ du\ projet\ FourBi/** --drive-skip-dangling-shortcuts --links --log-level ERROR --progress
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[gdrive_hello]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =
[nextcloud_LTL]
type = webdav
url = https://nextcloud.domain.tld/remote.php/dav/files/administratrice
vendor = nextcloud
user = XXX
pass = XXX
### Double check the config for sensitive info before posting publicly
I’m trying to copy from Google Drive the following folder
/LOW-TECH_LAB but I want to exclude this subfolder and all its content :
/LOW-TECH_LAB/5 - COMMUNAUTES/504 - Archives/[OLD]COMMUNAUTE /A_LTL locaux/Low-tech Lab France/Low-tech Lab Grenoble/Groupes de travail/Solaire à concentration/FourBi/PISTE - Drive du projet FourBi/Documentation & recherches/Lytefire/FourBi/PISTE - Drive du projet FourBi/
I thought I had understood how --exclude= option was working but apparently no. In the exemple here, Rclone Filtering , the folder doesn’t have any space or strange character (such as [ ] or &..) we incounter in folder names in reality and I’m afraid I’m not dealing with them correctly in my command. Should I use “ “ or ‘ ‘ around the full path such as :
-exclude=”/5\ -\ COMMUNAUTES/504\ -\ Archives/[OLD]COMMUNAUTE\ /A_LTL\ locaux/Low-tech\ Lab\ France/Low-tech\ Lab\ Grenoble/Groupes\ de\ travail/Projets\ PISTE/2023_LTLG_Fourbi-énergie/Drive\ du\ projet\ FourBi/Documentation\ &\ recherches/Lytefire/FourBi/PISTE\ -\ Drive\ du\ projet\ FourBi/**”
Any help is welcome, thanks.