Reputation: 455
I have Cygwin installed with curl in directory C:\cygwin
I am trying to run the below, but I get No such file or directory
for INPUT_LIST.TXT
. I have the INPUT_LIST.TXT
placed in the C:\cygwin
. Where should I place the file to make the below work?
xargs curl -sw “%{url_effective}\t %{http_code}\t %{redirect_url}\\n” < INPUT_LIST.TXT
Upvotes: 0
Views: 596
Reputation: 15634
From your comments, I can see you've managed to name your file INPUT_LIST.TXT.txt
, not INPUT_LIST.TXT
.
You need to do one of the following:
mv INPUT_LIST.TXT.txt INPUT_LIST.TXT
. You should then be able to run your command as you originally wrote it.< INPUT_LIST.TXT.txt
instead of < INPUT_LIST.TXT
.Upvotes: 1