So I got lost trying to figure this out. I need to zip the contents of a directory but nothing I have tried has worked. I would prefer to be able to do wildcards like *2015* and such but to make it simpler I simply moved the objects I need to compress. I know I can list file after file and even add to an archive but when directories have tens of thousands of files it is a bit more difficult.
So why cannot get a jar cfM myjarfile /dir/*.txt or such to work?
So why cannot get a jar cfM myjarfile /dir/*.txt or such to work?
Comment