Jump to content
Server Maintenance This Week. ×

Preserving timestamp


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

Recommended Posts

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

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 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.