Binary archive

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andrew Davie

As part of my build process, each binary is named with a timestamp, and copied to a ROMs directory. So I effectively have an archive of every single build I make during development. The archive currently holds 2466 binaries from 22 days of development!

Here's the relevant Makefile code to do that naming/moving...

DATED_ROM := $(shell date +"$(CUSTOMNAME)_%Y%m%d@%H:%M:%S" | tr ' :' '__')
    cp $(OUTPUT)/$(CUSTOMNAME).bin ROMs/$(DATED_ROM).bin

Sample filename: WenHopPlanetPluto_20260530@02_15_27.bin