#!/bin/bash # Create a distributable archive for my lesson material archive="$(basename "$PWD").zip" readarray -t files < <(find . -mindepth 1 -not -path './.*' -printf '%p\n') zip "${archive}" "${files[@]}" # TODO: replace hardcoded base dir basedir=/home/muhq/Documents/MyDocuments/Work/Schule/Unterricht add_to_archive() { python3 <