🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Copy Multiple Files add Date Stamp

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

I have the below.

 

Six input files to be copied to a folder that is a named export (ignore that it says email in the image.)  

 

This is not a problem and works just fine.

 

What I would like though is to add the date to each file name. (ex "Test" becomes "Test120517")

 

I know how to do this for a single file, but I'm unsure how to proceed with multiple files.

 

They do not work their way through a Workspace or Model just a simple copy.

 

Thanks-

Capture.JPG

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Craig,

     

    You can accomplish this by using either the standard process design (SPD) or the visual process Design (VPD)

    In a VPD configure the hub's File input processing to individually

    image

    Configure the distribution and add &[Source.name] macro followed by the date macro in the rename as box.

    image

     

    In SPD configure the input tab in the project editor to each in its own job

    image

    Add a copy distribution and add the &[source.name] macro followed by the date macro in the rename file as.

    image

    Regards

    Mo

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Craig,

     

    You can accomplish this by using either the standard process design (SPD) or the visual process Design (VPD)

    In a VPD configure the hub's File input processing to individually

    image

    Configure the distribution and add &[Source.name] macro followed by the date macro in the rename as box.

    image

     

    In SPD configure the input tab in the project editor to each in its own job

    image

    Add a copy distribution and add the &[source.name] macro followed by the date macro in the rename file as.

    image

    Regards

    Mo

    •  

      image

       

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    •  

      image

       

    Kenjie Bermundo led me to the solution above.  Using [souce.name] in the rename field.