mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-14 03:21:03 +01:00
10 lines
361 B
Bash
10 lines
361 B
Bash
#!/bin/bash
|
|
# Unlocks the data
|
|
# @author Kevin Veen-Birkenbach [aka. Frantz]
|
|
source "$(dirname "$(readlink -f "${0}")")/base.sh"
|
|
echo "Unlocking directory $DECRYPTED..."
|
|
echo "Creating directory $DECRYPTED..."
|
|
mkdir "$DECRYPTED"
|
|
echo "Encrypting directory $DECRYPTED to $DECRYPTED..."
|
|
encfs "$ENCRYPTED" "$DECRYPTED" && echo "ATTENTION: DATA IS NOW DECRYPTED!"
|