Skip to content

Instantly share code, notes, and snippets.

@m4nh
Last active May 2, 2020 22:37
Show Gist options
  • Save m4nh/9226c5ea6b295c79b369a939aea5ebb5 to your computer and use it in GitHub Desktop.
Save m4nh/9226c5ea6b295c79b369a939aea5ebb5 to your computer and use it in GitHub Desktop.
#bash script to #copy recursively files form source folder to *destination* with Exclusion pattern
rsync -avz --exclude '*.txt' source/ destination/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment