我想创建一个 tar ball 并仅包含目录中以特定文件名开头的文件。例如,我有 apples-xxx 和 oranges-xxx,我只想对以“apple”开头的文件进行 tar。我怎样才能做到这一点?
谢谢!
linux redhat tar
linux ×1
redhat ×1
tar ×1