Trying to create a file variable to create a checksum
Posted: Thu Jan 10, 2019 12:22 pm
I've been learning as I go with GA, and am trying to figure out the steps here:
I've got a folder where there is a new file every 4 hours. The naming convention is:
yyyyMMddhhmm_Widget_.xz
Basically, I just need to figure out how to pull the latest file (I tried setting timestamp variables, but I haven't gotten it to work), but once I can set a variable for the filename, I can create a checksum file that is basically ${latestfile}.md5, which I can then print into the directory where the file is located.
I looked through the forum, as I'm guessing this is pretty rudimentary, but couldn't find a solution?
Can someone please assist?
Thanks!
I've got a folder where there is a new file every 4 hours. The naming convention is:
yyyyMMddhhmm_Widget_.xz
Basically, I just need to figure out how to pull the latest file (I tried setting timestamp variables, but I haven't gotten it to work), but once I can set a variable for the filename, I can create a checksum file that is basically ${latestfile}.md5, which I can then print into the directory where the file is located.
I looked through the forum, as I'm guessing this is pretty rudimentary, but couldn't find a solution?
Can someone please assist?
Thanks!