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