mafintosh/tar-fs

How to do rename entries during packing

louiekwan opened this issue · 0 comments

It is fine to specify which entries to pack using the entries option.

entries: ['file1', 'subdir/file2'] // only the specific entries will be packed

How can we also rename file1 to fileXyz and file2 to fileAbc during packing

Could use a map function but it seems the syntax is very limited?