Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unzip in different folders

Status
Not open for further replies.

ElvisUntot

Programmer
Jan 8, 2002
72
DE
i have a few hundret zip files.
each with files that MAY! have the same name.
i neet to extract them in folders that are similair to the names of the .zip file.

Code:
<target name="extr">
	<unzip dest="temp">
		<fileset dir="source">
			<include name="*"/>
		</fileset>
	</unzip>
</target>

unzips everything in the same folder ("temp") but not in a different folder there.

1.zip should go into /temp/1/
2.zip should go into /temp/2/
...


i am quite new to ant so please do not kill me becaue of this newbie question.
 
I am having same problem. Were you able to find a solution.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top