An unopinionated Asus Bios Renamer shell script.
You'll need access to a bash-like shell with the following binaries
grep, strings, tail. These, should, be present in almost any bash like environment.
Clone this repo
- open a terminal in the cloned repo directory
- copy the target bios file
SomeFile.CAPand theBiosRenamer.exeto this directory - mark the script as executable
chmod u+x ./bios_renamer.sh- execute the script from the terminal
./bios_renamer.shThe expected file name is recorded in this rename binary. This script fetches all strings from the binary, looks for .CAP, then renames the original .CAP file.
- Access
- Doesn't require Linux (should work on MacOS, FreeBSD)
- Doesn't require Windows or emulation (e.g. WINE)
- Doesn't require x86
- I'm opinionated
- A binary to rename a file is absurd
- ASUS could just ship this with the appropriate name
- ASUS could leave instructions in plain text
- Other tools appear to be overly complex and expose individuals to supply chain attack
The diff of the original file and the renamed file is empty, and SHA256 sums are identical for the ASUS provided binary, and likewise for this script.