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

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:

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