scubieman
(Scuba Dhaan)
1
Trying to run rclone from my unraid server to my NAS. I noticed its trying to copy folders I put in exclude. Why would it be trying to copy it?
Script:
rclone sync -v /mnt/user/backups/ NAS:adehaan86/unraidbkup/ --exclude β/Older video/" --exclude "/Work/β
calisro
(Rob)
2
--exclude "/Work/**β
Dash dash. And two stars match deeper directory and files.
scubieman
(Scuba Dhaan)
3
Is that 1 dash that you used? I do have the double astricks have there. but it did not show in post.
here is screenshot of what I have since I cant put that.
calisro
(Rob)
4
Dash dash. And two stars match deeper directory and files.
calisro
(Rob)
5
And the slash in front says to match from the root. So if these are in subdirs you need
"**/Work/**"
scubieman
(Scuba Dhaan)
6
Directory kind of goes like this
A
B
C
BlueIRIS
>Older Video(sub directory)
D
E
F
Work
> directories(sub directory)
New script below
calisro
(Rob)
7
That looks right⦠Or you can do this
If you want to ensure its one deep.
"/*/Older Video/**"
Or fully qualify it:
"/BlueIRIS/Older Video/**"
scubieman
(Scuba Dhaan)
8
Awesome Thank you for your time. That works perfect!
1 Like