Last active 1731171926

dominic revised this gist 1731171925. Go to revision

1 file changed, 14 insertions

update-webfai.sh(file created)

@@ -0,0 +1,14 @@
1 + #!/usr/local/bin/zsh
2 + #
3 + # Author: Dominic Reich <quick.hat4396@qtztsjosmprqmgtunjyf.com>
4 +
5 + DATE=$(date +%Y%d%m)
6 + FILENAME=$(ls -1 *.iso)
7 + BASENAME=$(basename ${FILENAME} .iso)
8 + BACKUPFILE=${BASENAME}.backup-$DATE.iso
9 +
10 + # backup old image
11 + xz -c ${FILENAME} > ${BACKUPFILE}.xz
12 +
13 + # download fresh image file
14 + curl -O https://www.tuxedocomputers.com/webfai/webfai-nb/ipxe-stick-webfai-nb_current.iso
Newer Older