diff --git a/.scripts/encfsw b/.scripts/encfsw new file mode 100644 index 00000000..deba09a8 --- /dev/null +++ b/.scripts/encfsw @@ -0,0 +1,17 @@ +#!/bin/sh +if [ $# -ne 1 ] && [ $# -ne 2 ]; then + echo "Usage: $0 ROOTDIR [MOUNTPOINT]" + exit +fi + +if [ -w "$(command -v realpath)" ]; then + echo "You need 'realpath'." + exit +fi +if [ -w "$(command -v encfs)" ]; then + echo "You need 'encfs'." + exit +fi + +[ $# -ne 2 ] && 2="${1}_dc" +encfs "$(realpath "$1")" "$(realpath "$2")" diff --git a/.scripts/pp7a-extract b/.scripts/pp7z-extract similarity index 100% rename from .scripts/pp7a-extract rename to .scripts/pp7z-extract diff --git a/.shell.d/funs_rc b/.shell.d/funs_rc index fa063449..b0a610dd 100644 --- a/.shell.d/funs_rc +++ b/.shell.d/funs_rc @@ -407,7 +407,6 @@ clonecd () # dd if=$DRIVE of='$1.iso' bs=2048 count=$(isosize -d 2048 $DRIVE) conv=sync,notrunc } - ##============================================================================== ## Pacman functions ##============================================================================== diff --git a/README b/README index a981ffa0..e259d3a9 100644 --- a/README +++ b/README @@ -278,7 +278,10 @@ driconf dtach dvtm dwb +ecryptfs +ecryptfs-simple emacs +encfs fbpdf fbv fdisk