added video presets
This commit is contained in:
parent
074b56ba30
commit
277fb7b293
11 changed files with 17 additions and 6 deletions
|
@ -1,3 +1,4 @@
|
|||
|
||||
function find_dot_files() {
|
||||
find . -name '.DS_Store';
|
||||
find . -name '._*';
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
encode64() {
|
||||
if [[ $# -eq 0 ]]; then
|
||||
cat | base64
|
||||
|
|
1
exa.zsh
1
exa.zsh
|
@ -1,3 +1,4 @@
|
|||
|
||||
alias ls="exa"
|
||||
alias l="exa -l"
|
||||
alias la="exa -la"
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
alias x=extract
|
||||
|
||||
extract() {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
function convert() {
|
||||
for i in *.$1; do ffmpeg -i "$i" "${i%.*}.$2"; done
|
||||
}
|
||||
|
|
1
mkcd.zsh
1
mkcd.zsh
|
@ -1,3 +1,4 @@
|
|||
|
||||
function mkcd() {
|
||||
mkdir $1 && cd $1
|
||||
}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
alias rsync-copy="rsync -avz --progress -h"
|
||||
alias rsync-move="rsync -avz --progress -h --remove-source-files"
|
||||
alias rsync-update="rsync -avzu --progress -h"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
user_commands=(
|
||||
cat
|
||||
get-default
|
||||
|
@ -87,4 +88,3 @@ function systemd_prompt_info {
|
|||
echo -n "$ZSH_THEME_SYSTEMD_PROMPT_SUFFIX"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
function update() {
|
||||
if type "apt-get" &> /dev/null; then
|
||||
sudo apt-get update;
|
||||
|
@ -26,4 +27,3 @@ function update() {
|
|||
brew cask upgrade;
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
7
video_presets.zsh
Normal file
7
video_presets.zsh
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
function mkVideoProj() {
|
||||
mkdir $1 && cd $1;
|
||||
mkdir -p Media;
|
||||
mkdir -p Renders;
|
||||
mkdir -p Thumbnails;
|
||||
}
|
|
@ -1,8 +1,5 @@
|
|||
|
||||
alias downloadVid="youtube-dl -o \"%(title)s.%(ext)s\" -f \"bestvideo[height<=1080][ext=webm]+bestaudio\" --write-thumbnail"
|
||||
|
||||
alias downloadVid1440="youtube-dl -o \"%(title)s.%(ext)s\" -f \"bestvideo[height<=1440][ext=webm]+bestaudio\" --write-thumbnail"
|
||||
|
||||
alias downloadVid4K="youtube-dl -o \"%(title)s.%(ext)s\" -f \"bestvideo[height<=2160][ext=webm]+bestaudio\" --write-thumbnail"
|
||||
|
||||
alias downloadAudio="youtube-dl -o \"%(playlist_index)s %(title)s.%(ext)s\" -x"
|
||||
|
|
Loading…
Add table
Reference in a new issue