I have an .ear
file (an archive file like tar / zip) that has a file inside that i want to change.
For example myfile.ear
contains 1.txt
and i want to change 1.txt
to 2.txt
and possibly also change some of the content inside 1.txt
(like sed
does)
I really want to avoid having to extract myfile.ear
, change the file and compress it again.
Does anyone know a way to achieve this in linux ?
And if it's not possible, I would also like to know why
Thanks.