How could I zip all my Magento files excluding non-required to a local setup?
I usually run this command to get all the files. But, it takes too long and the files are too heavy.
zip -r magento2.zip ./*
Do you have any suggestions to improve it?