Elektrine lite

← Feed

@thingsiplay@lemmy.ml

Post #3993082

2026-07-21 18:43 UTC

yt-dlp has an option to rename downloaded files to restrict to ASCII characters (and another option to restrict filename length). I usually use my own wrapper script around yt-dlp, but I guess you already have your own. So for that, you can use the option –restrict-filenames to “Restrict filenames to only ASCII characters, and avoid “&” and spaces in filenames”. See all options with man yt-dlp. Try it out.

Replies (1)

  • @sinextitan@lemmy.world 2026-07-21 19:23

    Ik of yt-dlp being able to rename the media that I download using it. but I didn’t use it to get my music. plus it’s not a prob that I have w yt-dlp. even w/o yt-dlp using their same same but not same chars, Linux doesn’t mind ?,* and " in filenames. but I do like the feature as / does present probs.

    Open ##3993924