[Android] 备份手机上的超级终端、VIM
root@android:/ # cat /tmp/btep.sh
#!/system/bin/sh #======================================================================== # # FILE: btep.sh # # USAGE: ./btep.sh # # DESCRIPTION: # # OPTIONS: --- # REQUIREMENTS: --- # BUGS: --- # NOTES: --- # AUTHOR: linkscue (scue), linkscue@gmail.com # ORGANIZATION: ATX # CREATED: 04/13/13 13:55:41 CST # REVISION: --- #======================================================================== set -o nounset # Treat unset variables as an error rm /sdcard/btep_vim_gcc.tar.bz2 2> /dev/null tar jcvf /sdcard/btep_vim_gcc.tar.bz2 \ /data/data/com.magicandroidapps.bettertermpro/ \ /data/app/com.magicandroidapps.bettertermpro-1.apk \ /data/local/usr/share/vim/ \ /data/local/bin/vim \ /system/xbin/vim \ /system/xbin/ctags \ /system/xbin/zip