Skip to content

Commit

Permalink
less verbose and more human readably rsync output
Browse files Browse the repository at this point in the history
  • Loading branch information
karavanis committed Mar 1, 2018
1 parent 861318b commit ec29b44
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions my_bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ alias autoremove='sudo apt-get autoremove '

alias myip='curl ipinfo.io/ip'

alias psapp='ps aux|grep '
alias psapp='ps aux | grep '

# merge multiple pdf files into one called finished.pdf
alias pdfmerge='gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf *.pdf'

alias leak='valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes '

alias backupmac='sudo rsync -av --delete --delete-excluded --stats --progress --exclude 'media/movies' --exclude 'Downloads' --exclude '.Trash' /Users/sbosx/ /Volumes/sbosx_ext/sbosxBackUp/'
alias backupmac='sudo rsync -ah --progress --delete --delete-excluded --stats --progress --exclude 'media/movies' --exclude 'Downloads' --exclude '.Trash' /Users/sbosx/ /Volumes/sbosx_ext/sbosxBackUp/'

alias backupsys='~/Desktop/Debian_format/before_format.sh ; sudo rsync -av --delete --delete-excluded --stats --progress --exclude 'media/movies' --exclude 'Downloads' /home/sbosx/ /media/sbosx_disk/sbosxBackUp/'
alias backupsys='~/Desktop/Debian_format/before_format.sh ; sudo rsync -ah --progress --delete --delete-excluded --stats --progress --exclude 'media/movies' --exclude 'Downloads' /home/sbosx/ /media/sbosx_disk/sbosxBackUp/'

alias backup_usb0=' ~/Desktop/Debian_format/before_format.sh ; sudo rsync -av --delete --delete-excluded --stats --progress --exclude 'media/movies' --exclude 'Downloads' /home/sbosx/ /media/usb0/sbosxBackUp/'
alias backup_usb0=' ~/Desktop/Debian_format/before_format.sh ; sudo rsync -ah --progress --delete --delete-excluded --stats --progress --exclude 'media/movies' --exclude 'Downloads' /home/sbosx/ /media/usb0/sbosxBackUp/'

alias backup_to_debian='sudo rsync -av --delete --stats --progress ~/Development/ sbosx@192.168.0.12:work/centralway'
alias backup_to_debian='sudo rsync -ah --progress --delete --stats --progress ~/Development/ sbosx@192.168.0.12:work/centralway'

alias ping_google='ping www.google.com'

Expand Down

0 comments on commit ec29b44

Please sign in to comment.