Renaming a folder to the current date

(imported topic written by alagos91)

I know this might seem like an easy one but I’m having a problem getting my relevance statement to work. I’m trying to rename a folder to the current date in the format of mmddyyyy. Can anyone help?

Thanks,

Arturo

(imported comment written by BenKus)

Hi arturo,

Can you post what you have so far?

Ben

(imported comment written by alagos91)

Nevermind I think I figured out my own problem. I was trying to use properties from BigFix 6.0 that are not available in 5.1, the version that we are currently using.

Anyhow this is the statement I was trying to use and I’m pretty sure it would work right?

Dos rename “file_path_name” “filename_{day_of_year of now}”

(imported comment written by BenKus)

Hi alagos,

I think you actually want to use this relevance (BES 6.0 only):

q: day_of_year of current date

A: March 22

Here is something you can use for all versions of BES:

q: first 6 of following text of position 5 of (now as string)

A: 22 Mar

Ben

(imported comment written by alagos91)

Hi Ben,

Thanks alot. I appreciate the help.

Arturo