linkcheck icon indicating copy to clipboard operation
linkcheck copied to clipboard

[Suggestion] Output to text file

Open CHJ85 opened this issue 2 years ago • 3 comments

Hi there. It'd be great if your script had a flag (i.e -o) allowing me to output the results to a text file. Textfile example: 404 - goooogle.com 200 - google.com 200 - amazon.com 404 - kgfnsekgj.ca

Is this doable, or would it require a lot of work?

CHJ85 avatar May 06 '22 19:05 CHJ85

Agree - this would particularly be useful for internal links too, so that it can be verified that no omissions are introduced by changes over time (i.e. rearchitecting the site, etc.)

colearendt avatar Jun 10 '22 19:06 colearendt

Bumping this one. I would only be interested, because of the long output the script currently produces.

nicolasleroy avatar Aug 03 '23 10:08 nicolasleroy

I use the usual unix piping for this:

linkcheck :8000 > output.txt

Does this work for you?

filiph avatar Aug 03 '23 10:08 filiph