DPaquin Posted August 26, 2014 Share Posted August 26, 2014 Hello I am new to ScriptMaster and to groovy. I would like to modified the copy file command Link to comment Share on other sites More sharing options...
DPaquin Posted August 26, 2014 Author Share Posted August 26, 2014 PRESERVING TIMESTAMP WHILE COPYING FILES USING GROOVY Hello, I am new to ScriptMaster and new to groovy. Starting to use ScriptMaster, I am amaze with its capabilities. When using the CopyFiles command I would like to preserve the TIMESTAMP of the file being copied. I did a little bit of research to find out in JAVA I would type the command such as Copy(in, out, CopyOption.COPY_ATTRIBUTES) However, how would you do it when using out << input Thanks! Daniel Link to comment Share on other sites More sharing options...
DPaquin Posted September 1, 2014 Author Share Posted September 1, 2014 Is it possible with groovy to retain the original TIMESTAMP information while copying a file from one place onto another ? Thanks! Daniel Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 3523 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now