~ecs/dotfiles

c17c0b5ac34edefac38590f419fa598e45c47cb7 — Eyal Sawady 2 months ago b492af1
bin/tcode: initial commit
1 files changed, 10 insertions(+), 0 deletions(-)

A bin/tcode
A bin/tcode => bin/tcode +10 -0
@@ 0,0 1,10 @@
#!/bin/sh -eu

IFS="
"

for f in $(find -name "*.$1"); do
	echo "$f: ${f/.$1/.$2}"
	d ffmpeg -i "$f" "${f/.$1/.$2}"
	d rm "$f"
done