diff options
-rw-r--r-- | research/smartphone.mdwn | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/research/smartphone.mdwn b/research/smartphone.mdwn index c076f64..8a22087 100644 --- a/research/smartphone.mdwn +++ b/research/smartphone.mdwn @@ -126,11 +126,17 @@ Backups Usaremos o [adb-sync](https://github.com/google/adb-sync) e o [adb-export](https://github.com/snatik/adb-export): - # Parameters + # Parâmetros date="`date +%Y%m%d`" base="/storage/emulated/0" - mkdir $date && cd $date && mkdir files + mkdir $date && cd $date + + # Se você tiver um backup antigo e quiser aproveitá-lo com hardlinks: + cp -alf /path/to/previous/backup/files files + + # Garante a existência da pasta de arquivos + mkdir -p files # Contatos # Exportar também para .vcf direto do aplicativo de contatos |