summaryrefslogtreecommitdiffstats
path: root/helperscripts/termux/termux-backup.sh
blob: 27a445bda11722f0de92717557885d1abb72f260 (plain)
1
2
3
4
5
#!/bin/sh
date="$(date '+%Y%m%d-%H%M%S')"
tarfile="/sdcard/termux-backup-$date.tar.gz"
echo "Backup to $tarfile ..."
exec tar czf "$tarfile" -C /data/data/com.termux/files ./home ./usr
bues.ch cgit interface