Invalid character class range: `R-E`

What is the problem you are having with rclone?

hello i am trying to copy multiple specific files from same source to destination folder and everything works fine if the filelist.txt doesnt include special characters

how can i make it proper ?

note: the /folder/path is mounted on my nas

What is your rclone version (output from rclone version)

1.51.0

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Synology nas

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 /folder/path/  /target/folder/path  --include-from=filelist.txt ```


#### The rclone config contents with secrets removed.  
<!--  You should use 3 backticks to begin and end your paste to make it readable.   -->

Paste config here




#### A log from the command with the `-vv` flag  
<!-- You should use 3 backticks to begin and end your paste to make it readable.  Or use a service such as https://pastebin.com or https://gist.github.com/   -->

Failed to load filters: bad glob pattern "name of file" error parsing regexp: invalid character class range: R-E

that is an old version, perhaps try the latest stable.

i have installed it with help of a friend on nas im afraid to update it to lose my all crypted data on gdrive. but i dont think this problem is about version im missing to do something on this command for special characters

can you post the debug log?

so you are using rclone to copy local to local?

post the filelist.txt

no im trying to copy from gdrive to nas or oppisite

2020/06/11 01:38:43 Failed to load filters: bad glob pattern "Kiz Arkadasim - My Girl (1991) 1080p DUAL [TR-EN] Blu-ray Remux AVC DTS HD.MA 5.1-TURG.mkv" (regexp "(^|/)Kiz Arkadasim - My Girl \(1991\) 1080p DUAL [TR-EN] Blu-ray Remux AVC DTS HD\.MA 5\.1-TURG\.mkv$"): error parsing regexp: invalid character class range: R-E

post the filelist.txt

Kiz Arkadasim - My Girl (1991) 1080p DUAL [TR-EN] Blu-ray Remux AVC DTS HD.MA 5.1-TURG.mkv

your command, there is not remote, just local folders

rclone copy /folder/path/ /target/folder/path

yea but /folder/path/ is already mounted on my nas. its gdrive

oh, you did not mention that.

why not copy direct to gdrive, and skip the mount?

its crypted for plex. i must use rclone commands and direct copy move etc doesnt work for me

yes, the remote is crypted,
however, you can upload to the crypt with the need to use mounts.

can you post a debug log?

1 Like

whats debug log ? sorry im a newbei

add -vv to your command

https://rclone.org/docs/#log-level-level

2020/06/11 01:54:13 Failed to load filters: bad glob pattern "Kiz Arkadasim - My Girl (1991) 1080p DUAL [TR-EN] Blu-ray Remux AVC DTS HD.MA 5.1-TURG.mkv" (regexp "(^|/)Kiz Arkadasim - My Girl \\(1991\\) 1080p DUAL [TR-EN] Blu-ray Remux AVC DTS HD\\.MA 5\\.1-TURG\\.mkv$"): error parsing regexp: invalid character class range: `R-E`

however, you can upload to the crypt with the need to use mounts.

how can i do this ? is it possible to the crypt upload on webui without use rclone commands on ssh ?

if you have a crypt remote, then you must use rclone.
but no need to use mounts.

rclone sync /path/to/local/folder crypt:

thank you. but i think its needed to watch those files on plex

that error you are getting seems to be go language error.
perhaps put quotes around the filters.
"Kiz Arkadasim - My Girl (1991) 1080p DUAL [TR-EN] Blu-ray Remux AVC DTS HD.MA 5.1-TURG.mkv"

can you post your exact command?

can you post your config, removing passwords and ids

yes, you can upload to the crypt without the need for a mount
you can use this.

i also use a crypted remote to host using emby, same as plex.
i use a read-only mount for emby
and use rclone without a mount to copy files to the crypt.

the command

rclone copy /volume1/homes/ENSAR/plex_crypt/movies/REMUX /volume1/downloads/Torrents/TransmissionVPN/completed/movies/hit --include-from=/volume2/SSD/filelist.txt --dry-run -v

    [gdrive]
type = drive
scope = drive
token = {"access_token":"token id ","token_type":"Bearer","refresh_token":"token id","expiry":"2020-06-11T17:52:53.163296816+02:00"}
root_folder_id = id

[gcache]
type = cache
remote = gdrive:
plex_url = http://192.168.178.25:32400
plex_username = username
plex_password = password
chunk_size = 5M
info_age = 1d
chunk_total_size = 10G
plex_token = token

[gcrypt]
type = crypt
remote = gcache:/Plex/crypt
filename_encryption = standard
directory_name_encryption = true
password = password
password2 = password

may u tell me pls what is the benefits of using rclone without a mount to copy files to the crypte ?