1 Answer
Yeah!! --exclude option could be used along with rsync command.
For eg: Assume, you have .png and .txt files but to copy only .txt files run the below command,
# rsync -Pavzxl --exclude "*.png" [source] [Destination]
This command will copy all the files in source excluding .png files.
Your Answer
x