Hi.
I tried in every way to exclude files starting with ~$ (example ~$doc.xlsx) within the directories with no success with --exclude-file. I try \\~$, *~$, ~$, ~$, //~$, //**//~$, ~$*. What is wrong ?What is the correct form?
Thanks.
I think I found the answer: “Environment-variables in exclude files are expanded with os.ExpandEnv, so /home/$USER/foo
will be expanded to /home/bob/foo
for the user bob
. To get a literal dollar sign, write $
to the file.”