Commit graph

41 commits

Author SHA1 Message Date
3e1f089845 Update powershell/bts-onboarding.ps1
updated directories and trmm installer
2024-11-20 23:37:48 +10:00
a9648a11ab Update powershell/bts-onboarding.ps1
commented out create support directories
2024-11-20 23:12:59 +10:00
d0b2b330f8 Update bts-anydesk.ps1
commented out add support directories
2024-11-20 23:10:37 +10:00
ee59daf704 Update bash/backuptrmm.sh 2024-11-12 01:43:07 +00:00
3621809237 Add bash/backuptrmm.sh 2024-11-12 01:42:37 +00:00
a726b0095a Add powershell/bts-onboarding.ps1 2024-11-04 01:21:13 +00:00
37e2fb2c4b Update bash/backupdocker2.sh 2024-11-01 12:50:54 +00:00
9282267112 Update transmission-docker-compose.yml 2024-11-01 06:47:39 +00:00
fc97f7b1eb Add transmission-docker-compose.yml 2024-11-01 06:33:50 +00:00
c160db9fe3 Add mount-nfs-boot 2024-11-01 06:33:26 +00:00
40b00d9f4e Update RMD Psono Install.txt 2024-10-31 03:51:23 +00:00
6f828fae0b Update RMD Psono Install.txt 2024-10-31 03:29:08 +00:00
1207d05c08 Update RMD Psono Install.txt 2024-10-31 02:10:03 +00:00
a93cc2f758 Update RMD Psono Install.txt 2024-10-31 02:06:58 +00:00
26f36d93b6 Add RMD Psono Install.txt 2024-10-31 02:03:59 +00:00
e2b577c05e Update wireguard.sh 2024-10-29 11:39:53 +00:00
c5da616bc5 Add wireguard.sh 2024-10-29 11:37:55 +00:00
5713971bc6 Add radius-docker-compose.yml 2024-10-29 11:08:56 +00:00
9c765b4a7d Update bash/backupdocker1.sh 2024-10-29 10:03:48 +00:00
c58189d736 Add open-webui-docker-compose.yml 2024-10-29 09:53:18 +00:00
331c0ebd0e Add rmdblog-ghost-docker-run.sh 2024-10-29 05:23:41 +00:00
dd707225d0 c 2024-10-28 23:10:10 +10:00
33d134735a changes 2024-10-28 23:04:37 +10:00
4ce891691f new 2024-10-28 22:02:33 +10:00
e0937b2126 1 2024-10-28 20:39:22 +10:00
ecf0b5a5a0 renamed repo & changed folder structure 2024-10-28 20:38:22 +10:00
49a84a90a9 renamed files 2024-10-28 19:44:35 +10:00
91c5d02a72 renamed files 2024-10-28 19:44:11 +10:00
be2edde8e6 modified backup directory 2024-10-28 19:37:25 +10:00
b1703854ea Added apt update, moved old scripts 2024-10-28 19:31:02 +10:00
ed02b14f74 Created backup script for docker1. Changed wording 2024-10-26 17:00:13 +10:00
9e37189a28 added postfix smtp 2024-10-26 15:13:57 +10:00
cd74483e94 new script with confirmation email 2024-10-26 14:41:32 +10:00
9616c2ebe5 Update docker2-backup.sh 2024-10-26 02:22:32 +00:00
d02c658c99 Update docker1-backup.sh 2024-10-26 02:18:02 +00:00
52d78f02b3 Update docker1-backup.sh 2024-10-26 01:50:18 +00:00
f8f29dcd2f Add docker1-backup.sh
Must be run as sudo
2024-10-26 01:42:30 +00:00
555af6499f Add docker2-backup.sh
Stops all docker containers and backs up the /docker directory to BackBlaze using rclone. Rclone must be configured separately using <code>sudo rclone config</code>

(MUST BE RUN AS SUDO)
2024-10-26 01:40:33 +00:00
d1b15fb7ac Update send-output-as-email-llama.sh 2024-10-25 13:12:58 +00:00
d196074435 Update sendoutputasemail-llama.sh
llama3:8b

Here is a simple bash script that displays a string of text and sends the full output of the script as an email:

Let me explain what each part of the script does:

The first two echo statements display a string of text and a separator line.
The OUTPUT=$(cat /dev/null) command uses command substitution to capture the output of the script as a variable. In this case, we're capturing nothing (since /dev/null is an empty file).
The mail -s "Test Email from Bash Script" recipient@example.com << EOF command sends an email using the mailx utility (or your preferred MTA). The -s option sets the subject line of the email.
The << EOF syntax starts a here document, which allows us to embed the email body within the script. The $OUTPUT variable is expanded to contain the output of the script, which is sent as the email body.
To use this script, simply save it to a file (e.g., send_email.sh) and make the file executable with the command chmod +x send_email.sh. Then, run the script using the command ./send_email.sh, replacing recipient@example.com with the actual email address you want to send the message to.

Note: This script assumes that you have the mailx utility installed on your system. If you don't have it, you can install it or use an alternative MTA like sendmail or smtplib.
2024-10-25 13:11:57 +00:00
301cbde5d8 Add sendoutputasemail.sh 2024-10-25 13:10:26 +00:00