rsync exclude multiple file and directory

Exclude single directory
# rsync -avz --exclude "dirname"  source_location  destination_location

 Exclude multiple directory
# rsync -avz --exclude={dir1,dir2} source_location  destination_location
Share on Google Plus

About Penguin Technology

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

0 comments:

Post a Comment