From 6674954e26aa2d4b2b1fd09cb41dc54803756e43 Mon Sep 17 00:00:00 2001 From: Narsty Date: Sun, 14 May 2023 21:31:20 -0500 Subject: [PATCH] Add files via upload --- Goodusb/MacUpdaterBot+.txt | 25 +++++++++++++++++++++++++ Goodusb/MacUpdaterBot.txt | 26 ++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 Goodusb/MacUpdaterBot+.txt create mode 100644 Goodusb/MacUpdaterBot.txt diff --git a/Goodusb/MacUpdaterBot+.txt b/Goodusb/MacUpdaterBot+.txt new file mode 100644 index 0000000..ad15684 --- /dev/null +++ b/Goodusb/MacUpdaterBot+.txt @@ -0,0 +1,25 @@ +REM Must have Homebrew (shows progress bar on updates in the terminal) +REM first install pv using Homebrew (brew install pv). + +REM Runs the software update command and pipes its output to pv. +REM The pv command will display the progress bar or bars for the updates + + +REM Author: Narsty +REM Title: MacUpdaterBot+ +REM Target: MacOS +REM Version: 1.0 +REM Category: Utility + +DELAY 500 +GUI SPACE +DELAY 500 +STRING terminal +DELAY 500 +ENTER +DELAY 1000 +STRING sudo softwareupdate -ia --verbose 2>&1 | pv -l -s "$(softwareupdate -l | wc -l)" -p -t -i 1 +DELAY 1000 +ENTER + + diff --git a/Goodusb/MacUpdaterBot.txt b/Goodusb/MacUpdaterBot.txt new file mode 100644 index 0000000..1eca9bd --- /dev/null +++ b/Goodusb/MacUpdaterBot.txt @@ -0,0 +1,26 @@ +REM Checks for and installs available updates on the MacOs system +REM Very handy if you do not enjoy manually updating your system often! + +REM Note that running software updates with administrative privileges +REM can affect system files, so exercise caution +REM ensure that you have the necessary permissions to perform the updates. + +REM Author: Narsty +REM Title: MacUpdaterBot +REM Target: MacOS +REM Version: 1.0 +REM Category: Utility + +DELAY 500 +GUI SPACE +DELAY 500 +STRING terminal +DELAY 500 +ENTER +DELAY 1000 +STRING sudo softwareupdate -ia --verbose +DELAY 1000 +ENTER + + +