dotfiles/.local/bin/podsync

9 lines
160 B
Bash
Executable File

#!/bin/bash
cd $D/Videos/YouTube/
for f in */*.mp4; do
grep -q "$f" *.xml || rm "$f"
done
tmux new -s 1 -d "podsync-bin -c $D/Videos/YouTube/config.toml"