|
|
@@ -14,10 +14,10 @@ wait-until-jobs-below() { |
|
|
|
done |
|
|
|
} |
|
|
|
|
|
|
|
# e.g. ~/stash/YouTube/whitehouse |
|
|
|
root=$1 |
|
|
|
# provide as stdin the output of e.g. |
|
|
|
# es x find -t f -- ~/stash/YouTube | take-wanted-ids ~/dead-video-ids | rg '\.(mp4|webm|flv|video)$' |
|
|
|
|
|
|
|
es x find -t f -- "$root" | take-wanted-ids ~/dead-video-ids | rg '\.(mp4|webm|flv|video)$' | while read i; do |
|
|
|
while read i; do |
|
|
|
echo $i |
|
|
|
eye_path=$(path-to-eye-path "$i" | sed -r "s,$HOME/stash/,,g") |
|
|
|
file_id=$(es x info -- "$i" | jq .id) |
|
|
|