Post #2206258
2026-04-01 15:50 UTC
> When you do aliased commands, can they take arguments? Like to download a playlist with yt-dlp, could i do download-playlist [URL]?
They don't take arguments in the sense that functions do but in bash at least they are passed on as part of the expanded string. Pasted from bash:
```
alias argtest='echo arg is'
argtest foo
arg is foo
```
So yes you could alias your yt-dlp commands and invoke the alias with the URL.
Replies (0)
No replies.