V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
shiji
V2EX  ›  问与答

Linux 里面的 star 命令

  •  
  •   shiji · 2016-12-06 13:06:38 +08:00 · 1521 次点击
    这是一个创建于 2712 天前的主题,其中的信息可能已经有所发展或是发生改变。
    最近要把一个安卓应用备份出来该一些数据再还原回去(手机没 root ,估计这是唯一可行的方法)


    中文的大致步骤:
    http://www.cnblogs.com/goodhacker/p/4220189.html

    英文:
    http://resources.infosecinstitute.com/android-hacking-security-part-15-hacking-android-apps-using-backup-techniques/

    里面有这么一句:
    star -c -v -f newbackup.tar -no-dirslash list=mybackup.list

    关于这个 list 的意思。文档是这么说的:

    list=filename
    Read filenames for store/create/list/diff command from filename. The file filename must contain a list of path names, each on a separate line. This option implies the -D option. To force star to descend directories, use the -dodesc option in this case. See also the -X option.
    Note that if list=- has been specified, it is no longer possible to use the -find -exec primary.

    如果没有 star 这个程序( Debian 里面就没有),不知可否有别的程序能够取代 star ?
    tar 里面我没找到类似的参数
    2 条回复    2016-12-06 14:58:31 +08:00
    mdzz
        1
    mdzz  
       2016-12-06 14:13:54 +08:00
    看参数像是 tar 命令
    Tyanboot
        2
    Tyanboot  
       2016-12-06 14:58:31 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3571 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 10:48 · PVG 18:48 · LAX 03:48 · JFK 06:48
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.