Skip to content

Backup naming options and portnum for Tera Term

Compare
Choose a tag to compare
@Neradoc Neradoc released this 16 Dec 09:45
· 33 commits to main since this release

Added a --format option to backup with some substitution variables: {timestamp}, {device} (name), {drive}, and {serial} (number).

discotool backup --format "{timestamp}-{device}_{drive}_{serial}" ~/Backups
# eg: 20211216-104150-Trinket_M0_CIRCUITPY_123456789ABCDEF

Added a {portnum} substitution variable for the serialtool parameter (DISCOTOOL_SERIALTOOL).
Using teraterm on Windows (doesn't use COM# but just the number).

setx DISCOTOOL_SERIALTOOL "tterpro.exe /C={portnum}"