diff --git a/functions/resolvify.fish b/functions/resolvify.fish new file mode 100644 index 0000000..f8959f6 --- /dev/null +++ b/functions/resolvify.fish @@ -0,0 +1,3 @@ +function resolvify + ffmpeg -i "$argv[1]" -vcodec dnxhd -b:v 36M -acodec pcm_s16le -f mov "$argv[1].dnxhd.mov" +end diff --git a/functions/restart-royalnet.fish b/functions/restart-royalnet.fish new file mode 100644 index 0000000..6d8d92e --- /dev/null +++ b/functions/restart-royalnet.fish @@ -0,0 +1,4 @@ +# Defined in - @ line 1 +function restart-royalnet --wraps='ssh combo.steffo.eu sudo systemctl restart bot-royalnet' --description 'alias restart-royalnet ssh combo.steffo.eu sudo systemctl restart bot-royalnet' + ssh combo.steffo.eu sudo systemctl restart bot-royalnet $argv; +end diff --git a/functions/stripbase.fish b/functions/stripbase.fish new file mode 100644 index 0000000..ab8f168 --- /dev/null +++ b/functions/stripbase.fish @@ -0,0 +1,6 @@ +function stripbase + for file in * + set truename (string split -m1 " " "$file")[2] + mv "$file" "$truename" + end +end diff --git a/functions/ytdl-unimore.fish b/functions/ytdl-unimore.fish new file mode 100644 index 0000000..8231a0b --- /dev/null +++ b/functions/ytdl-unimore.fish @@ -0,0 +1,4 @@ +# Defined in - @ line 1 +function ytdl-unimore --wraps='youtube-dl --cookies ~/.cookies.Unimore.txt' --description 'alias ytdl-unimore youtube-dl --cookies ~/.cookies.Unimore.txt' + youtube-dl --cookies ~/.cookies.Unimore.txt $argv; +end