Creating tar file in specific heirarchy

M

Mithil

Hi everyone,

I am using com.ice.tar package to create a tar file, I can create a
tar file perfectly but the problem is that the File object is declared
like :

File test=new File ("/tmp/testImage/image")

and the tar file created as a result is hierarchical arranged as :

temp.tar -> tmp -> testImage -> image - > pic.jpg

can this order be changed to just :

image -> pic.jpg

without the directory structure.

any help or suggestions would be great.

Regards,
Mithil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top