Useful command when moving source code to a new folder or repository
rsync -av --exclude={'node_modules','.git','logs'} --exclude-from='.gitignore' ./ /path/to/destination
Explain
rsync: sync files from one folder to another
--exclude={'node_modules','.git','logs'}: exclude some folders
--exclude-from='.gitignore': exclude files in.gitignore
./: current folder
/path/to/destination: destination folder
SOCIAL SHARE CARD GENERATOR