mFat@lemdro.id to Linux@lemmy.mlEnglish · edit-24 months agoWhich CLI app/utility you wish there was a GUI for?message-squaremessage-square112fedilinkarrow-up192arrow-down15file-text
arrow-up187arrow-down1message-squareWhich CLI app/utility you wish there was a GUI for?mFat@lemdro.id to Linux@lemmy.mlEnglish · edit-24 months agomessage-square112fedilinkfile-text
minus-squareeverett@lemmy.mllinkfedilinkarrow-up8·4 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·4 months agoI do exactly this for downloading music, I aliased my preferred options to ‘yt-audio’
minus-squaremFat@lemdro.idOPlinkfedilinkEnglisharrow-up5·4 months agoWould you mind sharing your command?
minus-squareamanneedsamaid@sopuli.xyzlinkfedilinkEnglisharrow-up2·3 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.