|
Hi Gio!
The jar command is a Unix-y thing and is a little finicky. How it works depends on what your current directory is. The way to do what you want requires changing your current directory:
cd /myf/g/wrk
jar -cfM ./my.zip ./*.*
That should do it!
On 12/3/2018 1:13 PM, gio.cot via MIDRANGE-L wrote:
Hi all
I would need to zip all files inside ans Ifs folder and get one zip so that
when extract it , i see only the files and not also the folder that contains
my files
Example: if i run "jar -cf /myf/g/wrk/my.zip /myf/g/wrk/*
Inside wrk, i have
File1
File2
When i estract the zipped file , i see before MYF and META-INF folder, if i
click on myf i see G folder , and then i see WRK folder and for the last i
see my files .. i would see directcly file1 and file2
How can i do it ?
Thanks
---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus
As an Amazon Associate we earn from qualifying purchases.
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.