From efe8de9c00d2cf76e914621e99ff09b613592022 Mon Sep 17 00:00:00 2001 From: neox Date: Fri, 20 Sep 2024 15:30:45 +0200 Subject: [PATCH] =?UTF-8?q?simplification=20et=20contr=C3=B4le=20dossier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fermer.sh | 2 +- ouvrir.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fermer.sh b/fermer.sh index bcabc8b..22c862a 100755 --- a/fermer.sh +++ b/fermer.sh @@ -12,7 +12,7 @@ fi TARGET=$1 PASSWORDFILE=$2 -CLEAR_DIR="/tmp/${TARGET}_clear" +CLEAR_DIR="~/${TARGET}_clear" umount $TARGET rm -rf $CLEAR_DIR diff --git a/ouvrir.sh b/ouvrir.sh index 316f5e4..820f976 100755 --- a/ouvrir.sh +++ b/ouvrir.sh @@ -13,7 +13,7 @@ TARGET=$1 PASSWORDFILE=$2 # Création des répertoires si nécessaire -CLEAR_DIR="/tmp/${TARGET}_clear" +CLEAR_DIR="~/${TARGET}_clear" mkdir -p "$CLEAR_DIR" gocryptfs $TARGET $CLEAR_DIR --passfile $PASSWORDFILE