diff --git a/.bashrc b/.bashrc index b601502..02df005 100755 --- a/.bashrc +++ b/.bashrc @@ -72,6 +72,9 @@ PATH=$PATH:~/.local/share/gem/ruby/2.7.0/bin # To temporarily bypass an alias, we preceed the command with a \ # EG: the ls command is aliased, but to use the normal ls command you would type \ls +# Rsync push music to jellyfin +alias music-push='rsync -r -e 'ssh -p 46668' --info=progress2 /home/opal/music/to-push/* cleric:/data/container_storage/jellyfin/media/music/to-sort/' + # Add an "alert" alias for long running commands. Use like so: # sleep 10; alert alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'