Answer the question
In order to leave comments, you need to log in
tar. How can I add a file to an already existing etc.tar archive to a specific folder in that archive?
You need to add the ifcfg-lo file to the etc.tar archive to the /etc/sysconfig/network-scripts/ directory in this archive... I've been suffering for the third hour now... I'm trying to modify the path using --transform, but nothing happens
tar af etc.tar ifcfg-lo --transform='s:^:etc/sysconfig/network-scripts/:'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question