Ii need to backup my devprojects
folder, but it contains a subfolder for every project and most of the projects have a node_modules
folder that has many many files and this is causing my backups to be extremely slow.
Any ideas on how to copy my data without the node_modules
folders. I do not really need it at all.
This is the script that I am using now. However, it does not work as expected. I assume just one node_modules
is excluded. Others still get copied:
rsync -av --progress -exclude="node_modules" source destination