Skip to content

Commit

Permalink
Add rsync
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Jan 8, 2021
1 parent 45ece1c commit e8568bc
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 1 deletion.
56 changes: 56 additions & 0 deletions rsync/.config/rsync/exclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
*.stackdump
[Dd]esktop.ini
$RECYCLE.BIN/
*humbs*.db

*.so
*.log
.cache
downloads
.git
*OneDrive*

.python-version
.Python
.ipynb_checkpoints
*.venv
*.env
*.py[cod]
*.egg*
__pycache__
.tox
.nox
.coverage*
*.cover
docs/_build
build

*~
\#*\#
*.elc
.projectile

.formatter.exs
*.ez
*.beam
_build
.elixir_ls
erl_crash.dump
.fetch
deps
cover

.gitignore
*.orig

.idea

Session.vim
tags
.projections.json
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
[._]*.un~
2 changes: 1 addition & 1 deletion zsh/.config/zsh/.zshrc.local
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ restart-network() {

rcp() {
# scp but using rsync
rsync --progress --exclude-from "${XDG_CONFIG_HOME-$HOME/config/rsync}/exclude}" -v -rc -e ssh "$@"
rsync --progress --exclude-from "${XDG_CONFIG_HOME:-$HOME/config}/rsync/exclude}" -v -rc -e ssh "$@"
}

# }}}
Expand Down

0 comments on commit e8568bc

Please sign in to comment.