question about Ark in command line within Ubuntu

orichard orichard at neomailbox.ch
Wed Oct 24 21:55:20 BST 2018


Hi Elvis, thanks for your help. That is actually what I understood.

I will manage with a script by using ark for decompressing, adding my 
file, and re-compressing back.

Thanks anyway.

Ciao

Olivier.

Le 24/10/2018 à 18:56, Elvis Angelaccio a écrit :
> Hi Olivier,
>
> unfortunately it's not possible to achieve what you are looking for.
>
> The -p argument tells ark which folder should be used to compress 
> files from. So if you do "-p org/personal/computers", ark will try to 
> change its current working dir to "org/personal/computers".
>
> Cheers,
> Elvis
>
> On venerdì 19 ottobre 2018 12:20:45 CEST, orichard wrote:
>> thanks for your reply Raphael. I'm actually not sure that what I ask 
>> is feasible using the command line. Idea someone?
>>
>> Cheers,
>>
>> Olivier.
>>
>> Le 15/10/2018 à 13:12, Raphael Kubo da Costa a écrit :
>> orichard <orichard at neomailbox.ch> writes:
>>
>> Hello Raphael,
>>
>> I hope I am not disturbing you. I actually saw your email address in 
>> the man
>> pages of the ark Linux command as a maintainer of this tool.
>> I was wondering whether you could help me, well only if you want of 
>> course.
>> I am actually trying to use Ark in command line in order to 
>> dynamically insert
>> inside a jar file (Java) at a specified namespace sub-dirctory a 
>> .class file.
>> It is feasible usng the GUI, but I woud like to do it with the 
>> command line
>> without decompressing, copying my file, and then re-compressing it 
>> back. I am
>> not sure it is feasible actually.
>> So I tried the following:
>>
>> ark -p org/personal/computers --add-to my_app.jar
>> /home/olivier/_developpement/ComputingInstance.class
>>
>> where ComputingInstance.class is the .class file I wish to insert in 
>> my_app.jar
>> under subfolder org/personal/computers.
>> But unfortunately it is inserted at root directory inside the package.
>> I can't find the trick in internet for achieving this.
>>
>> Thank you for any help if possible :)
>>
>> kind regards,
>> Olivier.
>> Hi Olivier,
>>
>> I actually stepped down as Ark's maintainer years ago, so I'm CC'ing the
>> kdeutils mailing list for the current maintainers to chime in.
>>
>> Cheers,
>> Raphael
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20181024/fdd4fdc5/attachment.html>


More information about the Kde-utils-devel mailing list