[CentOS] Locating the broken links
Garrick Staples
garrick at usc.eduMon Jan 28 00:10:13 UTC 2008
- Previous message: [CentOS] Locating the broken links
- Next message: [CentOS] Locating the broken links
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Jan 28, 2008 at 01:45:43AM +0200, Ioannis Vranos alleged: > Is there any command that I can use to find the broken links that point > to non-existent files? Not pretty, but should work fine: find . -type l 2>/dev/null| while read line;do test -e "$line" || echo "$line";done -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20080127/afce2c32/attachment-0001.sig>
- Previous message: [CentOS] Locating the broken links
- Next message: [CentOS] Locating the broken links
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list