Use below snippet as rsync's option:
--exclude={'.*.sw[a-p]','*.pyc',__pycache__,.tox,.cache,tmp,.venv,node_modules,.git,dist,build}
Note the Bash brace expansion is used.
Use below snippet as rsync's option:
--exclude={'.*.sw[a-p]','*.pyc',__pycache__,.tox,.cache,tmp,.venv,node_modules,.git,dist,build}
Note the Bash brace expansion is used.