Skip to content

Commit

Permalink
Improves rsync alias
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Sep 24, 2024
1 parent 0a33fd3 commit 2340bb5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .aliasesrc
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,7 @@ alias rm-ds="find . -name '.DS_Store' -type f -delete -print"
alias rm-empty-dirs="find . -type d -empty -delete -print"
alias rm-empty-files="find . -type f -empty -delete -print"

# rsync
alias rsync='rsync --info=progress2'
# Rsync
alias rsync-sudo='rsync --rsync-path="sudo rsync"'
alias rsync-mv="rsync --ignore-existing --remove-source-files -av"

Expand Down
3 changes: 3 additions & 0 deletions .aliasesrc_linux
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# Rsync
alias rsync='rsync --info=progress2'

# Crypto.
alias btcaddr2hash160="base58 -d | cut -c2- | xxd -p | head -c40"

Expand Down
3 changes: 3 additions & 0 deletions .aliasesrc_macos
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ alias restart-sound="sudo kextunload /System/Library/Extensions/AppleHDA.kext &&
# Restart Finder.
alias restart-finder="launchctl stop com.apple.Finder; launchctl start com.apple.Finder"

# Rsync
alias rsync='rsync --progress'

# Logs
alias log-php="log stream --level debug --predicate 'processImagePath contains \"php\"'"

Expand Down

0 comments on commit 2340bb5

Please sign in to comment.