Created
August 4, 2015 05:53
-
-
Save andrew-carroll/e370d5be9ea32e52196f to your computer and use it in GitHub Desktop.
Wrapper for encfs that allows relative paths.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [[ $# -ne 2 ]]; then | |
echo "Usage: $0 ./encrypted/dir ./visible/dir" | |
fi | |
/usr/bin/encfs $(readlink -f $1) $(readlink -f $2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment