Results 1 to 3 of 3
here is my problem:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-29-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 2
wget --directory-prefix=prefix and --output-document=file does not work togeter
here is my problem:
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
- 10-04-2012 #2Just Joined!
- Join Date
- Oct 2012
- Posts
- 3
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.
- 10-04-2012 #3
Hi tezma90,
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.If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
The Fifth Continent reborn



