in reply to Creating a tarball
I doubt that the module Archive::Tar can help here. On the other hand, the utility ptar which comes with this module mimicks the tar command rather closely: it is using File::Find to collect files in a given directory. So I guess that your best choice would be to use File::Find instead of rolling your own recursive routine, copying whatever is useful from ptar.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Creating a tarball [ptar and File::Find]
by kcott (Archbishop) on Feb 07, 2019 at 11:38 UTC | |
by haj (Vicar) on Feb 07, 2019 at 12:41 UTC |