I want to change modification timestamp of a binary file. What is the best way for doing this?
Would opening and closing the file be a good option? (I require a solution
If you are already using Guava:
com.google.common.io.Files.touch(file)