?
Solved

jar -xvf extract to different directory

Posted on 2005-03-23
3
Medium Priority
?
5,315 Views
Last Modified: 2008-03-06
Hello,

How can I exctract jar file to other destination directory rather than current directoy?

Thanks
0
Comment
Question by:Lalibela
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 35

Expert Comment

by:TimYates
ID: 13611492
You can't (afaik)
0
 
LVL 35

Accepted Solution

by:
TimYates earned 150 total points
ID: 13611512
Unless you write a quick java app to do it...

http://www.rgagnon.com/javadetails/java-0429.html
0
 
LVL 29

Expert Comment

by:bloodredsun
ID: 13614776
I'm with Tim. I don't think you can do it using JAR but you'd need to write your own copy app that would move the files to a new location using mkDirs() if necessary
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
What's worse than having your data encrypted by ransomware? Getting attacked by a so-called "wiper," which simply destroys the data and offers you no hope of ever seeing it again.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question