Source

dotfiles / pack_private.sh

Full commit
#!/bin/bash
cd "`dirname "$0"`"
source .pack_common.sh

files_changed

if [[ $FILES_CHANGED -eq 0 ]]
then
    echo "Nothing to be done..."
    exit
fi

tar -czf private.tar.gz private/ || end 3
gpg -c private.tar.gz || end 3

cd private/
for FILE in *
do
    touch ".$FILE-timestamp"
done

end 0