Skip to content

How to regenerate repository by latest edid decode

Linux Hardware Project edited this page Oct 5, 2021 · 2 revisions
find . -type f -regextype posix-extended -regex '.*/[A-F0-9]{12}$' -print0 | while read -r -d '' file; do cat "$file" | grep -E '^([a-f0-9]{32}|[a-f0-9 ]{47})$' | edid-decode-2020-06-13 -c --skip-sha > /tmp/file; cat /tmp/file > "$file"; done

find . -type f -regextype posix-extended -regex '.*/[A-F0-9]{12}$' -print0 | while read -r -d '' file; do sed -i -e "s/Serial Number: .*/Serial Number: .../g" "$file"; done
Clone this wiki locally