# Invalid character class range: \`R-E\`

**URL:** <https://forum.rclone.org/t/invalid-character-class-range-r-e/17083>\
**Category:** Help and Support\
**Created:** [June 10, 2020, 11:20pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083 "2020-06-10T23:20:46Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsar](https://forum.rclone.org/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nsar](https://forum.rclone.org/u/nsar)\
**Post date:** [June 10, 2020, 11:20pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/1 "2020-06-10T23:20:46Z")

</div>

#### 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`)

````auto
 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

```auto

#### 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`

```auto

```

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [June 10, 2020, 11:28pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/2 "2020-06-10T23:28:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nsar](https://forum.rclone.org/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nsar](https://forum.rclone.org/u/nsar)\
**Post date:** [June 10, 2020, 11:32pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/3 "2020-06-10T23:32:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [June 10, 2020, 11:37pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/4 "2020-06-10T23:37:38Z")

</div>

can you post the debug log?

so you are using rclone to copy local to local?

post the filelist.txt

---

<div class="post-metadata">

**Author:** ![nsar](https://forum.rclone.org/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nsar](https://forum.rclone.org/u/nsar)\
**Post date:** [June 10, 2020, 11:39pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/5 "2020-06-10T23:39:53Z")

</div>

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`

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [June 10, 2020, 11:40pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/6 "2020-06-10T23:40:30Z")

</div>

post the filelist.txt

---

<div class="post-metadata">

**Author:** ![nsar](https://forum.rclone.org/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nsar](https://forum.rclone.org/u/nsar)\
**Post date:** [June 10, 2020, 11:40pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/7 "2020-06-10T23:40:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [June 10, 2020, 11:41pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/8 "2020-06-10T23:41:36Z")

</div>

your command, there is not remote, just local folders

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

---

<div class="post-metadata">

**Author:** ![nsar](https://forum.rclone.org/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nsar](https://forum.rclone.org/u/nsar)\
**Post date:** [June 10, 2020, 11:42pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/9 "2020-06-10T23:42:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [June 10, 2020, 11:43pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/10 "2020-06-10T23:43:51Z")

</div>

oh, you did not mention that.

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

---

<div class="post-metadata">

**Author:** ![nsar](https://forum.rclone.org/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nsar](https://forum.rclone.org/u/nsar)\
**Post date:** [June 10, 2020, 11:44pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/11 "2020-06-10T23:44:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [June 10, 2020, 11:50pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/12 "2020-06-10T23:50:52Z")

</div>

> [@nsar](#):
>
> its crypted for plex

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

can you post a debug log?

---

<div class="post-metadata">

**Author:** ![nsar](https://forum.rclone.org/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nsar](https://forum.rclone.org/u/nsar)\
**Post date:** [June 10, 2020, 11:53pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/13 "2020-06-10T23:53:15Z")

</div>

whats debug log ? sorry im a newbei

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [June 10, 2020, 11:54pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/14 "2020-06-10T23:54:27Z")

</div>

add `-vv` to your command

[https://rclone.org/docs/#log-level-level](https://rclone.org/docs/#log-level-level)

---

<div class="post-metadata">

**Author:** ![nsar](https://forum.rclone.org/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nsar](https://forum.rclone.org/u/nsar)\
**Post date:** [June 10, 2020, 11:55pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/15 "2020-06-10T23:55:46Z")

</div>

```
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`
```

---

<div class="post-metadata">

**Author:** ![nsar](https://forum.rclone.org/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nsar](https://forum.rclone.org/u/nsar)\
**Post date:** [June 11, 2020, 12:00am UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/17 "2020-06-11T00:00:40Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [June 11, 2020, 12:02am UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/18 "2020-06-11T00:02:53Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![nsar](https://forum.rclone.org/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nsar](https://forum.rclone.org/u/nsar)\
**Post date:** [June 11, 2020, 12:04am UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/19 "2020-06-11T00:04:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [June 11, 2020, 1:57pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/20 "2020-06-11T13:57:01Z")

</div>

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.

> **[kapitainsky/RcloneBrowser](https://github.com/kapitainsky/RcloneBrowser)**
>
> Simple cross platform GUI for rclone. Supports macOS, GNU/Linux, BSD family and Windows. - kapitainsky/RcloneBrowser

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.

---

<div class="post-metadata">

**Author:** ![nsar](https://forum.rclone.org/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nsar](https://forum.rclone.org/u/nsar)\
**Post date:** [June 11, 2020, 3:00pm UTC](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083/21 "2020-06-11T15:00:08Z")

</div>

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 ?

[Next page](https://forum.rclone.org/t/invalid-character-class-range-r-e/17083.md?page=2)
