× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



no prob. 

> -----Original Message-----
> From: midrange-l-bounces@xxxxxxxxxxxx 
> [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of 
> Mike_Bramley@xxxxxxxxxxx
> Sent: Saturday, November 12, 2005 1:50 PM
> To: midrange-l@xxxxxxxxxxxx
> Subject: RE: qshell ajar utility jar utility
> 
> 
> Many thanks, Mihael. That was very useful. I had 
> misunderstood what the -D
> parameter did. Your kindly informative response opened my 
> eyes to the need
> to be positioned within the directory I want. Rather than 
> accessing it via
> a path.
> Regards,
> Mike
> 
> Mihael Knezevic wrote:
> 
> subject: RE: qshell ajar utility jar utility
> 
> i tested it on v5r2 and the -D parameter will cause ajar to 
> just skip any
> directory and all files below it.
> 
> if you have for example the following dir structure:
> 
> myfile.txt
> mydir
> mydir/myfile-1.txt
> mydir/myfile-2.txt
> 
> and if you use the -D parameter ajar will include the 
> myfile.txt but will
> skip mydir and all files below it.
> 
> so i think you can't do it in just one step.
> 
> perhaps you can list the files with the find command and copy 
> the files to
> some temp dir. the use ajar to zip 'em.
> 
> <code>
> ALL_FILES=$(find $1)
> 
> for i in $ALL_FILES;
> do
>         cp $i /tmp/testing
> done;
> 
> ajar -c myfile.jar /tmp/testing/*
> </code>
> 
> perhaps this code will help you.
> 
> mk
> --
> This message is intended for the use of the addressee and may contain
> information that is privileged and/or confidential. If you are not the
> intended recipient, you are hereby notified that any dissemination,
> distribution or copying of the information contained in this 
> message is
> strictly unauthorized and prohibited. If you have received 
> this message in
> error, please notify the sender by reply e-mail and delete 
> the message from
> your system. Opinions, conclusions, or other statements in 
> this message
> which do not relate to the business of Coty Inc.,its subsidiaries or
> affiliates, are neither given nor endorsed by Coty Inc.
> 
> -- 
> This is the Midrange Systems Technical Discussion 
> (MIDRANGE-L) mailing list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
> 
> 


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.