diff --git a/bash_profile.d/convenience.sh b/bash_profile.d/convenience.sh index eaa85d8..1566737 100644 --- a/bash_profile.d/convenience.sh +++ b/bash_profile.d/convenience.sh @@ -19,3 +19,10 @@ function fmatch() { alias yt2mp3='yt-dlp -x --audio-quality 0 --audio-format mp3' + +function heck_ts_to_mp4_replace() { + for i in $(find . | grep .ts$); do { + ffmpeg -i $i -c copy $i.mp4 + mv $i /tmp + }; done +}