I know rsync has an
--exclude option which I use quite frequently. But how can I specify that it should exclude all "numeric" directories?
In the directory listing below I would like to only have it copy
. .. 123414 42344523 345343 2323 css html include
Normally my syntax is something like
rsync -avz /local/path/ user@server:/remote/path/ --exclude="cache"
I think it should look something like
--exclude="[0-9]*" but I don't think that will work.