1diff --git a/diffoscope/comparators/directory.py b/diffoscope/comparators/directory.py
2index 5f34d62..36999a3 100644
3--- a/diffoscope/comparators/directory.py
4+++ b/diffoscope/comparators/directory.py
5@@ -77,6 +77,7 @@ else:
6 FILE_RE = re.compile(r"^\s*File:.*$")
7 DEVICE_RE = re.compile(r"Device: [0-9a-f]+h/[0-9]+d\s+")
8 INODE_RE = re.compile(r"Inode: [0-9]+\s+")
9+ LINKS_RE = re.compile(r"Links: [0-9]+\s+")
10 ACCESS_TIME_RE = re.compile(r"^Access: [0-9]{4}-[0-9]{2}-[0-9]{2}.*$")
11 CHANGE_TIME_RE = re.compile(r"^Change: [0-9]{4}-[0-9]{2}-[0-9]{2}.*$")
12 BIRTH_TIME_RE = re.compile(r"^\s*Birth:.*$")
13@@ -86,6 +87,7 @@ else:
14 line = Stat.FILE_RE.sub("", line)
15 line = Stat.DEVICE_RE.sub("", line)
16 line = Stat.INODE_RE.sub("", line)
17+ line = Stat.LINKS_RE.sub("", line)
18 line = Stat.ACCESS_TIME_RE.sub("", line)
19 line = Stat.CHANGE_TIME_RE.sub("", line)
20 line = Stat.BIRTH_TIME_RE.sub("", line)