auto-encode/watch.sh

12 lines
206 B
Bash
Raw Permalink Normal View History

2019-08-01 13:45:24 +02:00
#!/bin/sh
if [ -f '/tmp/auto-encode' ]; then
exit 1
fi
touch /tmp/auto-encode
fd .vpy$ /home/sftp/kaleido/auto-encode/queue --exec /home/kageru/auto-encode/encode.sh {}
rm -f /tmp/auto-encode
exit 0