#!/bin/bash set -e ; set -u source ./fonctions.sh IDX=0 SPOOL="frames/Spool" linkfarm () { SRC="frames/$1" echo "linkfarm $SRC" | tee -a WS/log for src in "$SRC"/* do dstname=$(printf "%s/%05d.png" $SPOOL $IDX) echo "$src -> $dstname" # ln --force --symbolic $src $dstname cp -f $src $dstname IDX=$(( IDX + 1 )) done sync } linkfarm topview linkfarm passage linkfarm scene linkfarm essai ff_encodage Spool full.mp4