mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-10 10:01:02 +01:00
8 lines
336 B
Bash
8 lines
336 B
Bash
|
#!/bin/bash
|
||
|
# Unlocks the data
|
||
|
# @author Kevin Veen-Birkenbach [aka. Frantz]
|
||
|
ENCRYPTED=$(readlink -f "$(dirname "$(readlink -f "${0}")")/../.encrypted");
|
||
|
DECRYPTED=$(readlink -f "$(dirname "$(readlink -f "${0}")")/../data");
|
||
|
echo "Unlocking directory: $DECRYPTED"
|
||
|
encfs $ENCRYPTED $DECRYPTED && echo "ATTENTION: DATA IS NOW DECRYPTED!"
|