Skip to content

Instantly share code, notes, and snippets.

@piotrlewandowski
Forked from spyesx/rsync_backup.sh
Created February 13, 2019 08:37
Show Gist options
  • Select an option

  • Save piotrlewandowski/875cf3128ef54ab43fbdcf707bf74c70 to your computer and use it in GitHub Desktop.

Select an option

Save piotrlewandowski/875cf3128ef54ab43fbdcf707bf74c70 to your computer and use it in GitHub Desktop.
Rsync backup excluding node_modules
find . -name "node_modules" -type d -prune -exec rm -rf '{}' +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment