本サイト/記事は移転しました。

約10秒後にリダイレクトします。

CWM backupが作ったバックアップファイルを固める

 パーミッションとかオーナーを保ったまま固めるにはやっぱtarかなと思ってZArchiverをインストールしたけど、よう考えたらSDカードはVFATフォーマットだから意味なかった。バックアップしたファイルの中に.android_secure.vfat.tarというファイルがあるのを見て気がついた。

 そもそもtarファイルができとるやん。

~# adb shell tar
BusyBox v1.19.3-Stericson (2011-11-01 20:22:18 CDT) multi-call binary.

Usage: tar -[cxtZhmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] [FILE]...

Create, extract, or list files from a tar file

Operation:
	c	Create
	x	Extract
	t	List
	f	Name of TARFILE ('-' for stdin/out)
	C	Change to DIR before operation
	v	Verbose
	Z	(De)compress using compress
	O	Extract to stdout
	h	Follow symlinks
	m	Don't restore mtime
	exclude	File to exclude
	X	File with names to exclude
	T	File with names to include

 ~# 

 busyboxの中にあった。