On 09/07/15 19:22, Jon Ingason wrote:
> Well, you could write a short shell script like:
>
> #! /usr/bin/sh
> #
>
> dnf download --destdir <DESTDIR>

That won't quite work since you've not made an allowance for passing parameters.

dnf download --destdir <DESTDIR>  $@

is what would be needed in most cases.

FWIW, I prefer using "alias" for this situation as it can just be added to 
one's .bashrc.

-- 
It seems most people that say they are "done talking about it" never really are 
until given the last word.
-- 
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to