bash cp recursive but one folder code example Example: cp all except one folder cp -r `ls -A | grep -v "Folder or file name"` destination