Exclude directories but only the "main"

Hi all,

I would like to exclude one directory in my project (a prestashop website) : I would like to exclude the img directory but only the "root" one ... not the other. I can't see how to specify that the path of the exclude should match "^img/"

Any option ?

Thanks for your help
Guillaume

Hi Guillaume,

Sounds like you are looking for --exclude="/img/**"

You can test using:

rclone lsl yourRemote: --exclude="/img/**"

and find more info and examples here:
https://rclone.org/filtering/

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.