simplification et contrôle dossier

This commit is contained in:
neox 2024-09-20 15:30:45 +02:00
parent 5dc30d4029
commit efe8de9c00
No known key found for this signature in database
GPG Key ID: 57BC26A3687116F6
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ fi
TARGET=$1 TARGET=$1
PASSWORDFILE=$2 PASSWORDFILE=$2
CLEAR_DIR="/tmp/${TARGET}_clear" CLEAR_DIR="~/${TARGET}_clear"
umount $TARGET umount $TARGET
rm -rf $CLEAR_DIR rm -rf $CLEAR_DIR

View File

@ -13,7 +13,7 @@ TARGET=$1
PASSWORDFILE=$2 PASSWORDFILE=$2
# Création des répertoires si nécessaire # Création des répertoires si nécessaire
CLEAR_DIR="/tmp/${TARGET}_clear" CLEAR_DIR="~/${TARGET}_clear"
mkdir -p "$CLEAR_DIR" mkdir -p "$CLEAR_DIR"
gocryptfs $TARGET $CLEAR_DIR --passfile $PASSWORDFILE gocryptfs $TARGET $CLEAR_DIR --passfile $PASSWORDFILE