question about Ark in command line within Ubuntu

Elvis Angelaccio elvis.angelaccio at kde.org
Wed Oct 24 17:56:41 BST 2018


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
>
>



More information about the Kde-utils-devel mailing list