Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Apr 2009
wget --directory-prefix=prefix and --output-document=file does not work togeter
when I execute:
wget --directory-prefix=prefix google.com
it works as it is supposed to work and saves the file to the path given in the prefix..
but when I try to execute smthng like that:
wget --directory-prefix=prefix --output-document=file google.com
it generates the file in the folder that I am currently in.. In does not create the file on the prefix I defined. so --directory-prefix=prefix becomes useless..
Any help appreciated.
- this is my first post by the way
- Join Date
- Oct 2012
hi, I had your same problem, I tried:
wget 'url' -O - > /save/location/filename
and it worked it's complicated but at least it works.
Welcome to Linux Forums. Thanks for posting a quite elegant solution to the problem but as this thread is well over two years old, I'm going ahead and closing it.Should you be sitting wondering,
Which Batman is the best,
There's only one true answer my friend,
It's Adam Bloody West!
The Fifth Continent