File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes change the timestamp of flies in an archive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "change the timestamp of flies in an archive" Watch "change the timestamp of flies in an archive" New topic
Author

change the timestamp of flies in an archive

Abhinav Srivastava
Ranch Hand

Joined: Nov 19, 2002
Posts: 349

any way to 'touch' all the files in an archive?
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4650
    
    5

Why would you want to do that. Are not the files, by definition, archived?

You could untar them, touch them, and then tar them back, but that seems silly to me.
 
Consider Paul's rocket mass heater.
 
subject: change the timestamp of flies in an archive