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() {
|
function find_dot_files() {
|
||||||
find . -name '.DS_Store';
|
find . -name '.DS_Store';
|
||||||
find . -name '._*';
|
find . -name '._*';
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
encode64() {
|
encode64() {
|
||||||
if [[ $# -eq 0 ]]; then
|
if [[ $# -eq 0 ]]; then
|
||||||
cat | base64
|
cat | base64
|
||||||
|
|
1
exa.zsh
1
exa.zsh
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
alias ls="exa"
|
alias ls="exa"
|
||||||
alias l="exa -l"
|
alias l="exa -l"
|
||||||
alias la="exa -la"
|
alias la="exa -la"
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
alias x=extract
|
alias x=extract
|
||||||
|
|
||||||
extract() {
|
extract() {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
function convert() {
|
function convert() {
|
||||||
for i in *.$1; do ffmpeg -i "$i" "${i%.*}.$2"; done
|
for i in *.$1; do ffmpeg -i "$i" "${i%.*}.$2"; done
|
||||||
}
|
}
|
||||||
|
|
1
mkcd.zsh
1
mkcd.zsh
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
function mkcd() {
|
function mkcd() {
|
||||||
mkdir $1 && cd $1
|
mkdir $1 && cd $1
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
alias rsync-copy="rsync -avz --progress -h"
|
alias rsync-copy="rsync -avz --progress -h"
|
||||||
alias rsync-move="rsync -avz --progress -h --remove-source-files"
|
alias rsync-move="rsync -avz --progress -h --remove-source-files"
|
||||||
alias rsync-update="rsync -avzu --progress -h"
|
alias rsync-update="rsync -avzu --progress -h"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
user_commands=(
|
user_commands=(
|
||||||
cat
|
cat
|
||||||
get-default
|
get-default
|
||||||
|
@ -87,4 +88,3 @@ function systemd_prompt_info {
|
||||||
echo -n "$ZSH_THEME_SYSTEMD_PROMPT_SUFFIX"
|
echo -n "$ZSH_THEME_SYSTEMD_PROMPT_SUFFIX"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
function update() {
|
function update() {
|
||||||
if type "apt-get" &> /dev/null; then
|
if type "apt-get" &> /dev/null; then
|
||||||
sudo apt-get update;
|
sudo apt-get update;
|
||||||
|
@ -26,4 +27,3 @@ function update() {
|
||||||
brew cask upgrade;
|
brew cask upgrade;
|
||||||
fi
|
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 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 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 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"
|
alias downloadAudio="youtube-dl -o \"%(playlist_index)s %(title)s.%(ext)s\" -x"
|
||||||
|
|
Loading…
Add table
Reference in a new issue