From 33c60504bd518a3970367324ca58b11af7c439f5 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Thu, 9 Oct 2025 07:06:47 -0700 Subject: [PATCH] Add methods to easily start a video project and pull files over. --- bashrc.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/bashrc.sh b/bashrc.sh index 7efa9ea..aaaf4c6 100644 --- a/bashrc.sh +++ b/bashrc.sh @@ -359,5 +359,22 @@ alias pa="v2a" # Go to normal storage. DISABLED, use shortcut aliases instead. #cd ~/storage/shared/ +# Shortcuts for starting a video project. +function init-video { + dir="$1" + if [[ ! -z $"dir" && ! -e "$dir" ]]; then + mkdir -p "$dir" + cd $dir + fi + touch readme.md + mv -v "$SS/Movies/youcut/*" ./ + mv -v "$SS/Pictures/Screenshots/*" ./ +} +alias pull-video="init-video" +alias pull-screenshot="init-video" +alias pull-sc="pull-screenshot" +alias video-readme="init-video" + +# Complete! PROG="$(basename -- "${BASH_SOURCE[0]}")" echo "'$PROG' completed!"