This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## this script saves crontabs and misc things to a file | |
readonly SCRIPTNAME=$(basename $0) | |
readonly HOST=$(hostname) | |
OUTPUTDIR="${HOME}/archive/backup/" | |
[ "x$HOST" = "xHOSTX" ] && OUTPUTDIR="${HOME}/hosts/HOSTX/archive" | |
[ "x$HOST" = "xHOSTBUSINESS" ] && OUTPUTDIR="${HOME}/share/backup" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## My one and only backup script for the future :-) | |
## Uses rsnapshot. | |
## | |
## Please do read this blog article about that script: https://Karl-Voit.at/2020/08/29/vkbackup/ | |
## | |
## --------------------------------------------------- | |
## | |
## Initial setup: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## This script appends to ORGFILE when syncthing conflict files are located on the host. | |
## setup: | |
## 1. pip3 install appendorgheading https://github.com/novoid/appendorgheading | |
## 2. modify ORFGILE to match an Org mode file which is part of your agenda (in order to get notified). | |
## 3. create a cronjob entry for this script to run, e.g., daily. | |
HOSTNAME=$(uname -n) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
PROG_VERSION = "Time-stamp: <2022-03-13 22:56:40 vk>" | |
# TODO: | |
# - fix parts marked with «FIXXME» | |
# ===================================================================== ## | |
# You might not want to modify anything below this line if you do not ## |
OlderNewer