old_gravity/assets_sources/target.sh

11 lines
276 B
Bash
Raw Permalink Normal View History

2020-01-31 23:30:38 +01:00
#!/bin/bash
for target in */ ; do
mkdir ../assets/$target
for gif in $target/*.gif ; do
echo $(basename $gif .gif)
name=$(basename $gif .gif)
mkdir ../assets/$target${name}
ffmpeg -i $gif ../assets/$target${name}/%05d.png
done
done