linux copy exclude files code example
Example: cp exclude file
rsync -av --progress sourcefolder /destinationfolder --exclude thefoldertoexclude
rsync -av --progress sourcefolder /destinationfolder --exclude thefoldertoexclude