Rename file by file size
Posted: Thu Jan 02, 2014 10:14 am
I have a two files that we pull from a system that are typically named with just numbers. I want to drop these two files int a monitored folder and when both are in there to rename and send them.
There is no consistency in the numbers that come out of our system so I really can't base the file name change on the incoming file name. I need to change the file names based on file size. One is always under 200 KB and the other is always over 1 MB.
I've looked through a lot of the documentation and haven't found anything in regards to making fie name changes based only on file size. Has anyone done this or know if this is an option?
There is no consistency in the numbers that come out of our system so I really can't base the file name change on the incoming file name. I need to change the file names based on file size. One is always under 200 KB and the other is always over 1 MB.
I've looked through a lot of the documentation and haven't found anything in regards to making fie name changes based only on file size. Has anyone done this or know if this is an option?