I have some some PDFs that have an isssue or date code for a magazine as their suffix. So “Johnson-Real_LF0607.pdf” is a PDF for a client named Johnson running their real estate ad in Lifestyle magazine in the June 2007 issue. We will reuse this PDF for several months, but will often have to remember what issue it came from. So by the time it runs in August, we should really have renamed the PDF to be “Johnson-Real_LF0807.pdf”. In doing that, we don’t remember where it came from, so we would typically want to do something like “Johnso-R_0607_LF0807.pdf” to show the august date but still retain some of the client name and some of the June info. But we have to do this by hand and with 10 people, they’d all combine the info from both names differently as they cut out part of the client or product part of the code. As a side note, all the PDFs are stored on our server in folders like LF0607 and LF0807.
Spoke with a friend and he suggested we try something that could start adding 1,2,3, etc. to the original month. Thought about that and came up with something like this:
Name the original PDF “Johnson-Real_00_LF0607” to show it was the original. When it comes time to reuse the PDF for August, find the appropriate PDF and drop into the LF0807 folder which would want to rename the end of the PDF to 0807 and in so doing would see the difference between aug and june as 2 and would rename the PDF to “Johnson-Real_02_LF0807.PDF.” So the new PDF is appropriately named for august and shows that it is 2 months from when the original was made, or June. Would be easy to look at when that middle number was a 1,2 or 3, but harder if it was a 9 or something. But perhaps you could create a companion script that when you dropped the new PDF on it could subract the 9 from the new issue month and prompt the user with something as simple as the phrase “February 2007.”
Thanks in advance.