1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-17 17:35:51 +02:00
tldr/pages/common/lychee.md

25 lines
552 B
Markdown
Raw Normal View History

# lychee
> Find broken URLs.
2025-07-31 14:37:30 -07:00
> More information: <https://github.com/lycheeverse/lychee/blob/master/README.md#commandline-usage>.
- Scan a website for broken links:
`lychee {{https://example.com}}`
- Display a breakdown of error types:
`lychee --format detailed {{https://example.com}}`
- Limit the amount of connections to prevent DDOS protection:
`lychee --max-concurrency {{5}} {{links.txt}}`
- Check files in a directory structure for any broken URLs:
`grep {{[-r|--recursive]}} "{{pattern}}" | lychee -`
- Display help:
`lychee --help`