Delete all .pdf files in current folder:
find . -name “*.pdf” -print0 | xargs -0 rm -f
Delete all .pdf files in current folder:
find . -name “*.pdf” -print0 | xargs -0 rm -f
use rsync command
rsync -av --progress source/ destination/ --exclude 'text1.txt' --exclude 'path1/to/exclude' --exclude 'path2/to/exclude/*'