From 1cee71cc73178dabd81f78e41030afff60fa8290 Mon Sep 17 00:00:00 2001 From: Djan <> Date: Sun, 18 Dec 2022 17:11:33 +0100 Subject: [PATCH] adding bobagencachedirfile --- borgaliasandfunctions.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/borgaliasandfunctions.txt b/borgaliasandfunctions.txt index 6f14007..f422045 100644 --- a/borgaliasandfunctions.txt +++ b/borgaliasandfunctions.txt @@ -13,6 +13,7 @@ bobainfor Get information of a repository bobainfolast Get info from last archive bobainfotail Get info from first archive bobainfoall Get info from all archives in the repository (can be long and cpu intensive) +bobagencachedirfile Create CACHEDIR.TAG file into the current folder bobadel Delete the archive in argument bobadelast Delete the last archive in the repository @@ -51,6 +52,7 @@ bobainfor Obtenir les informations d’un dépôt bobainfolast Obtenir les informations de la dernière archive bobainfotail Obtenir les informations des 4 dernières archives bobainfoall Affiche les infos de toutes les archives du dépôt (peut être long) +bobagencachedirfile Créer un fichier CACHEDIR.TAG dans le dossier courant bobadel Supprimer l'archive en paramètre bobadelast Supprimer la dernière archive du dépôt @@ -122,6 +124,10 @@ function bobapassphrase { export BORG_PASSPHRASE } +function bobagencachedirfile { + echo "Signature: 8a477f597d28d172789f06886806bc55" > CACHEDIR.TAG && echo "CACHEDIR.TAG created" +} + ############################################################################### # list and infos functions ###############################################################################