Last active
April 3, 2022 21:42
-
-
Save patagonaa/fe410bcf27e4b199c6e6dad62c1e39e8 to your computer and use it in GitHub Desktop.
re-download / add metadata to files downloaded via youtube-dl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -maxdepth 1 -type f | sed -nE 's/^.*-([A-Za-z0-9_-]{11})\..*$/\1/gp' | xargs -I '{}' youtube-dl 'https://youtube.com/watch?v={}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment