How could I zip all my Magento files excluding non-required to a local setup?
I usually run this command below 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?