Tar multiple files in a custom way?
0
votes
1
answer
297
views
I faced a problem of building a tarball for my application manually to prepare a distribution. My project structure looks as
project_root
|
|__resources
| |____config.conf
|
....
|__target
|____release
|___bin
|___app.bin
So I need to tar 2 files as foolows:
project_root/resource/config.conf --> ./app/config/example/config.conf
project_root/target/release/bin/app.bin --> ./app/app.bin
There is a good example of how to tar multiple files and for tar with relative paths , but for a single file.
Is there a way to tar the two files in the scheme above?
Asked by St.Antario
(283 rep)
Jul 31, 2020, 10:14 PM
Last activity: Jul 31, 2020, 10:48 PM
Last activity: Jul 31, 2020, 10:48 PM