Skip to content

Commit 8b45520

Browse files
bin: limit filesystem audit to files and symbolic links
1 parent 2bcf4f7 commit 8b45520

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.bin/audit_filesystem_corruption.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FILE="/tmp/$$.auditfile"
55

66
echo "Audit file: $FILE"
77
# Generate the audit file
8-
hashdeep -c sha256 -r "$DIR" > "$FILE"
8+
hashdeep -c sha256 -o fl -r "$DIR" > "$FILE"
99
# Test the audit
10-
hashdeep -c sha256 -a -v -v -k "$FILE" -r "$DIR"
10+
hashdeep -c sha256 -o fl -a -v -v -k "$FILE" -r "$DIR"
1111

0 commit comments

Comments
 (0)