what's the error code "123" of the wget means

when i use the gun wget (version 1.13) to fetch a file list like this:

cat url.txt | xargs wget -c -P ../data/

Then, I get the exit code 123, what does it means?

thx:)

2

2 Answers

123 is an exit code from xargs - one or more invocation of the command failed with an error code in the range 1-125. It means your wget command failed, but doesn't tell you why.

1

Try something like this just to see the lines that pose a problem :

while read; do wget -c -P ../data/ "$REPLY"; done < url.txt

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like