From 5347c7185148a6a8b01e75d0747057767c4b59af Mon Sep 17 00:00:00 2001 From: Bauke Date: Mon, 27 Feb 2023 12:14:09 +0100 Subject: [PATCH] Add the get-resolution alias. --- .aliases.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.aliases.zsh b/.aliases.zsh index 8f77fc8..339086a 100644 --- a/.aliases.zsh +++ b/.aliases.zsh @@ -29,5 +29,8 @@ alias clipboard-to-file="xclip -sel clip -o > $1" alias file-to-clipboard="xclip -sel clip -i $1" alias gpg-decrypt-clipboard="xclip -sel clip -o | gpg --decrypt" +# Video aliases. +alias get-resolution="ffprobe -v error -select_streams v -show_entries stream=width,height -of csv=p=0:s=x" + # See '$BAUKE_DIR/Restic Backups.md' for information. alias restic-b2="source $BAUKE_DIR/data/restic-b2-credentials.zsh && restic"