Skip to content

Commit

Permalink
alias: rscp: add --xattrs --protect-args
Browse files Browse the repository at this point in the history
  • Loading branch information
HaleTom committed Oct 9, 2019
1 parent 7b241c3 commit 3f3e8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash/.config/bash/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ alias pbcopy="sed -Ez '$ s/\\n+\$//' | xclip -selection clipboard -in"
alias pbpaste='xclip -selection clipboard -out'

# rsync
alias rscp='rsync -ax --partial --sparse --no-whole-file --inplace'
alias rscp='rsync -ax --partial --sparse --xattrs --no-whole-file --inplace --protect-args'
alias rsmv='rscp --remove-source-files'
alias droidsync='f(){ rsync "$@" --no-p --no-o --no-g --rsync-path="su root rsync";};f'
# FAT stores to two-second accuracy, NTFS 100 nanoseconds
Expand Down

0 comments on commit 3f3e8cb

Please sign in to comment.