Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3747 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello I am new to ScriptMaster and to groovy.

I would like to modified the copy file command

Posted

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

Posted

Is it possible with groovy to retain the original TIMESTAMP information while copying a file from one place onto another ?

Thanks!

Daniel

This topic is 3747 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.