mFat@lemdro.id to Linux@lemmy.mlEnglish · edit-25 months agoWhich CLI app/utility you wish there was a GUI for?message-squaremessage-square116fedilinkarrow-up190arrow-down15file-text
arrow-up185arrow-down1message-squareWhich CLI app/utility you wish there was a GUI for?mFat@lemdro.id to Linux@lemmy.mlEnglish · edit-25 months agomessage-square116fedilinkfile-text
minus-squareeverett@lemmy.mllinkfedilinkarrow-up8·5 months ago Too many options to remember and look up every time This is a good use case for shell aliases. If you can identify a few of your use cases, you can give each bundle of options its own command.
minus-squareamanneedsamaid@sopuli.xyzlinkfedilinkEnglisharrow-up7·5 months agoI do exactly this for downloading music, I aliased my preferred options to ‘yt-audio’
minus-squaremFat@lemdro.idOPlinkfedilinkEnglisharrow-up5·5 months agoWould you mind sharing your command?
minus-squareamanneedsamaid@sopuli.xyzlinkfedilinkEnglisharrow-up2·5 months agoThis is what I use (with zsh): yt-audio() { yt-dlp --no-playlist -f 'ba' -x --audio-format mp3 $1 } yt-audio-playlist() { yt-dlp -f 'ba' -x --audio-format mp3 $1 } It takes the best quality available and downloads it to mp3.
This is a good use case for shell aliases. If you can identify a few of your use cases, you can give each bundle of options its own command.
I do exactly this for downloading music, I aliased my preferred options to ‘yt-audio’
Would you mind sharing your command?
This is what I use (with zsh):
yt-audio() { yt-dlp --no-playlist -f 'ba' -x --audio-format mp3 $1 } yt-audio-playlist() { yt-dlp -f 'ba' -x --audio-format mp3 $1 }
It takes the best quality available and downloads it to mp3.