我想把手机上的指定文件写入一个tar包

问题描述 投票:0回答:0

我先用下面的命令获取指定文件的路径

./busybox find /sdcard/ -type f | grep -e imgcache -e gallery3d -e image | ./busybox xargs

我使用下面的命令将找到的指定文件写入到tar包中

./busybox find /sdcard/ -type f | grep -e imgcache -e gallery3d -e image | ./busybox xargs ./busybox tar c >a.tar

使用上述命令将指定文件写入tar包后,只找到.tar中的部分文件,其余文件没有写入。

这是什么原因造成的?会不会是文件太多了?

android linux busybox
© www.soinside.com 2019 - 2024. All rights reserved.