我先用下面的命令获取指定文件的路径
./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中的部分文件,其余文件没有写入。
这是什么原因造成的?会不会是文件太多了?