What is the problem you are having with rclone?
It looks like that negating of character class in regex pattern does not work properly
Run the command 'rclone version' and share the full output of the command.
rclone v1.69.3
* os/version: Microsoft Windows 10 Pro 22H2 22H2 (64 bit)
* os/kernel: 10.0.19045.6093 (x86_64)
* os/type: windows
* os/arch: amd64
* go/version: go1.24.3
* go/linking: static
* go/tags: cmount
Which cloud storage system are you using?
Jottacloud
The command you were trying to run (eg rclone copy /tmp remote:tmp)
deleting files which names are starting with 'R' character
rclone delete meetingpoint-jotta:WSUS --include=/{{[R].*}} --dry-run -vv --password-command "powershell %APPDATA%\rclone\read-pfile.ps1"
this command works as expected, but when I try to delete files which names DO NOT start with 'R' character
rclone delete meetingpoint-jotta:WSUS --include=/{{[^R].*}} --dry-run -vv --password-command "powershell %APPDATA%\rclone\read-pfile.ps1"
rclone tries to remove same files as in previous command.
Same behavior I can observe when I try to use same include patterns on local disk (NTFS formatted):
rclone delete . --include=/{{[R].*}} --dry-run -vv --password-command "powershell %APPDATA%\rclone\read-pfile.ps1"
and
rclone delete . --include=/{{[^R].*}} --dry-run -vv --password-command "powershell %APPDATA%\rclone\read-pfile.ps1"
tries to remove same set of files
The rclone config contents with secrets removed.
[meetingpoint-jotta]
type = jottacloud
configVersion = 1
client_id = jottacli
client_secret =
tokenURL = https://id.jottacloud.com/auth/realms/jottacloud/protocol/openid-connect/token
token = {"access_token":"****","token_type":"Bearer","refresh_token":"****","expiry":"2025-08-15T12:40:24.7127609+02:00"}
device =
mountpoint =
A log from the command with the -vv flag
rclone delete meetingpoint-jotta:WSUS --include=/{{[R].*}} --dry-run -vv --password-command "powershell %APPDATA%\rclone\read-pfile.ps1"
2025/08/15 12:11:07 DEBUG : rclone: Version "v1.69.3" starting with parameters ["rclone" "delete" "meetingpoint-jotta:WSUS" "--include=/{{[R].*}}" "--dry-run" "-vv" "--password-command" "powershell C:\\Users\\user1\\AppData\\Roaming\\rclone\\read-pfile.ps1"]
2025/08/15 12:11:07 DEBUG : Creating backend with remote "meetingpoint-jotta:WSUS"
2025/08/15 12:11:08 DEBUG : Using config file from "C:\\Users\\user1\\AppData\\Roaming\\rclone\\rclone.conf"
2025/08/15 12:11:08 DEBUG : Waiting for deletions to finish
2025/08/15 12:11:08 DEBUG : Approves4Host.ps1: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : Approves4Parents.ps1: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : FileVersion.ps1: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : FileVersionNew_v1.ps1: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : FileVersionNew_v2.ps1: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : GetDetailedReport4Group.ps1: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : GetSummaryReports4Group.ps1: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : GetUpdatesArrivedOnDate.ps1: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : GetUpdateState_v1.ps1: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : GetUpdateState_v2.ps1: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : List-InstalledPatches.ps1: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : List-InstalledPatches2.ps1: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : List-InstalledPatchesNew.ps1: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : UpdatesReport.ps1: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : wsus_clean_obsolete_updates_sql_script.docx: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : wsus_decline_superseeded_updates_sql_script.docx: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : wsus_reindex_database_sql_script.docx: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : wsus_remove_driver_updates_sql_script.docx: Excluded (Path Filter)
2025/08/15 12:11:08 DEBUG : wsus_remove_hidden_updates_sql_script.docx: Excluded (Path Filter)
2025/08/15 12:11:08 NOTICE: RegKeysContent_v2.ps1: Skipped delete as --dry-run is set (size 4.375Ki)
2025/08/15 12:11:08 NOTICE: RegKeysContent_v1.ps1: Skipped delete as --dry-run is set (size 4.385Ki)
2025/08/15 12:11:08 DEBUG : 8 go routines active
rclone delete meetingpoint-jotta:WSUS --include=/{{[^R].*}} --dry-run -vv --password-command "powershell %APPDATA%\rclone\read-pfile.ps1"
2025/08/15 12:10:52 DEBUG : rclone: Version "v1.69.3" starting with parameters ["rclone" "delete" "meetingpoint-jotta:WSUS" "--include=/{{[R].*}}" "--dry-run" "-vv" "--password-command" "powershell C:\\Users\\user1\\AppData\\Roaming\\rclone\\read-pfile.ps1"]
2025/08/15 12:10:52 DEBUG : Creating backend with remote "meetingpoint-jotta:WSUS"
2025/08/15 12:10:53 DEBUG : Using config file from "C:\\Users\\user1\\AppData\\Roaming\\rclone\\rclone.conf"
2025/08/15 12:10:53 DEBUG : Waiting for deletions to finish
2025/08/15 12:10:53 DEBUG : Approves4Host.ps1: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : Approves4Parents.ps1: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : FileVersion.ps1: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : FileVersionNew_v1.ps1: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : FileVersionNew_v2.ps1: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : GetDetailedReport4Group.ps1: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : GetSummaryReports4Group.ps1: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : GetUpdatesArrivedOnDate.ps1: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : GetUpdateState_v1.ps1: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : GetUpdateState_v2.ps1: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : List-InstalledPatches.ps1: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : List-InstalledPatches2.ps1: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : List-InstalledPatchesNew.ps1: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : UpdatesReport.ps1: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : wsus_clean_obsolete_updates_sql_script.docx: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : wsus_decline_superseeded_updates_sql_script.docx: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : wsus_reindex_database_sql_script.docx: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : wsus_remove_driver_updates_sql_script.docx: Excluded (Path Filter)
2025/08/15 12:10:53 DEBUG : wsus_remove_hidden_updates_sql_script.docx: Excluded (Path Filter)
2025/08/15 12:10:53 NOTICE: RegKeysContent_v2.ps1: Skipped delete as --dry-run is set (size 4.375Ki)
2025/08/15 12:10:53 NOTICE: RegKeysContent_v1.ps1: Skipped delete as --dry-run is set (size 4.385Ki)
2025/08/15 12:10:53 DEBUG : 8 go routines active
rclone delete . --include=/{{[R].*}} --dry-run -vv --password-command "powershell %APPDATA%\rclone\read-pfile.ps1"
2025/08/15 12:46:40 DEBUG : rclone: Version "v1.69.3" starting with parameters ["rclone" "delete" "." "--include=/{{[R].*}}" "--dry-run" "-vv" "--password-command" "powershell C:\\Users\\user1\\AppData\\Roaming\\rclone\\read-pfile.ps1"]
2025/08/15 12:46:40 DEBUG : Creating backend with remote "."
2025/08/15 12:46:40 DEBUG : Using config file from "C:\\Users\\user1\\AppData\\Roaming\\rclone\\rclone.conf"
2025/08/15 12:46:40 DEBUG : fs cache: renaming cache item "." to be canonical "//?/D:/Archiwum/user1/Scripts"
2025/08/15 12:46:40 DEBUG : Waiting for deletions to finish
2025/08/15 12:46:40 NOTICE: REncrypt-File.ps1: Skipped delete as --dry-run is set (size 5.962Ki)
2025/08/15 12:46:40 NOTICE: REncrypt-FileOrig.ps1: Skipped delete as --dry-run is set (size 5.104Ki)
2025/08/15 12:46:40 DEBUG : 3 go routines active
rclone delete . --include=/{{[^R].*}} --dry-run -vv --password-command "powershell %APPDATA%\rclone\read-pfile.ps1"
2025/08/15 12:46:51 DEBUG : rclone: Version "v1.69.3" starting with parameters ["rclone" "delete" "." "--include=/{{[R].*}}" "--dry-run" "-vv" "--password-command" "powershell C:\\Users\\user1\\AppData\\Roaming\\rclone\\read-pfile.ps1"]
2025/08/15 12:46:51 DEBUG : Creating backend with remote "."
2025/08/15 12:46:51 DEBUG : Using config file from "C:\\Users\\user1\\AppData\\Roaming\\rclone\\rclone.conf"
2025/08/15 12:46:51 DEBUG : fs cache: renaming cache item "." to be canonical "//?/D:/Archiwum/user1/Scripts"
2025/08/15 12:46:51 DEBUG : Waiting for deletions to finish
2025/08/15 12:46:51 NOTICE: REncrypt-File.ps1: Skipped delete as --dry-run is set (size 5.962Ki)
2025/08/15 12:46:51 NOTICE: REncrypt-FileOrig.ps1: Skipped delete as --dry-run is set (size 5.104Ki)
2025/08/15 12:46:51 DEBUG : 2 go routines active