Skip to content

Instantly share code, notes, and snippets.

@kelvan
kelvan / convert_vault.sh
Last active July 22, 2016 22:05
Script to convert Jolla1 vault (backup) to JollaC version, either on device or using a Backup.tar
#!/bin/bash
set -e
DATE_STRING=`date -u "+%Y-%m-%dT%H-%M-%SZ"`
TMP_PATH=$HOME/vault_tmp_$DATE_STRING
TARGET_ARCHIVE=$HOME/sailfish_backup_$DATE_STRING.tar
FOLDERS="Accounts Browser Gallery Media Messages Notes People Phone"
if [ -n "$1" ]; then