Skip to content

Instantly share code, notes, and snippets.

@Sarverott
Created December 20, 2025 08:09
Show Gist options
  • Select an option

  • Save Sarverott/05771aa9c438dd7403bcaeff6916d8a2 to your computer and use it in GitHub Desktop.

Select an option

Save Sarverott/05771aa9c438dd7403bcaeff6916d8a2 to your computer and use it in GitHub Desktop.
#!/bin/sh
# retransferage-procedure.sh - PART OF B.O.S. PLATFORM (https://docs.apokryf.pl/blacksmith-organization-system)
# Copyright (C) 2025 Sett Sarverott A.A.B.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
RETRANSFERAGE_SOURCE='.'
RETRANSFERAGE_DESTINATION='.'
CURRENT_TIME=$(date +%Y'-'%M'-'%d'_'%H'-'%m'-'%S'_'%s'000')
RETRANSFERAGE_FILE="$RETRANSFERAGE_DESTINATION/__RETRANSFERAGE-protocol___$CURRENT_TIME.tar.gz"
RAPORTFILE="~/__WORKSHOP/raportlog-$(date +%s'000').md"
echo "# RETRANSFERAGE" > $RAPORTFILE
echo "> **$RETRANSFERAGE_FILE**" >> $RAPORTFILE
echo "> FROM `$RETRANSFERAGE_SOURCE` TO `$RETRANSFERAGE_DESTINATION` " >> $RAPORTFILE
echo "---" >> $RAPORTFILE
echo "### indexing" >> $RAPORTFILE
echo "```" >> $RAPORTFILE
tar czf $RETRANSFERAGE_FILE $RETRANSFERAGE_SOURCE/__WORKSHOP --verbose >> $RAPORTFILE
echo "```" >> $RAPORTFILE
# https://flag.apokryf.pl/5eb74805f2e2740486731443ec5e58be
# Inceptorium Apokryf @ 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment