scripting
files
## rename files in subdirs to name dirs (one level) for x in */*; do dir2=${x%/*}; dir1=${d...
meta
all find -maxdepth 2 -name "*.*" -exec ffprobe -v error -select_streams v:0 -show_entries stream...
folders
## simple file char cleaning detox -r -v /path/to/your/files ## regex file char sanitization c...
tree
0. create: tree > tree.txt 1. regex to clean lines up to the extension (leaving only last 3 cha...
mapping
create images from lines in a text file (need an "imgs" subfolder) while read line; do convert -...
transcoding
#copy all audio into h264 mp4 video with static image (useful for playing back audio with video p...
credits
## images from a list (crops first five chars) while IFS="\d*_" read id text; do convert -size 1...
playing
#!/bin/bash # infinity-looper-2.sh # Infinite looping script # J.E.HUTTING 21-JAN-2017 #set...
poster
to-do: write a detailed process 0. consent 1. sort; rename; resize 2. import; stack; median h...
500 videos with numbers
#!/bin/bash # Output directory output_dir="output_videos" mkdir -p "$output_dir" # Set th...