Ghrush is obtained from Daily Login Rewards as a free Epic champion on Day 240. I also realize that if I knew Apple Script it would probably be fairly easy to do this with an Apple Script.Ghrush the Mangler is an Epic Defense Spirit champion from Ogryn Tribes in Raid Shadow Legends. Again this is not critical for my current use of Hazel but I would like to know if I can insert letters, numbers and characters at a certain position in a file name for future reference. In other words I could not figure out how to get Hazel to insert a "-" in a specific place in an file name. I want it renamed to "2015-01 PayPal Keiko Statement.pdf" by removing the "MSR-", then adding a "-" after the "2015" to separate the year and month then append this with "PayPal Keiko Statement.pdf". As I mentioned in the previous post I will download a file to my Desktop that PayPal will name MSR-201501.pdf. What I am trying to do is modify the part of the name PayPal uses in its file naming convention so that I will not have to manually rename a file. Noodle, Here is my rule: This works with downloading a previous month's statement because of. My primary reason for asking the question is that I wanted to know if I could insert something into a file's name using Hazel in case I experienced a similar need in the future. So I just used Name Mangler to do the renaming. In my case I had to download statements from 2016 and this year up to last month. The custom date attribute feature is great and I use it every month when I download my previous month's statements. Let’s say someone did not back up their computer and had to download 7 years of old bank statements for their business and wanted to use Hazel to rename those statements without using a separate file renaming program. In this example between the 7 and the 0 in the same way a sophisticated file renaming utility would. I was just trying to figure out if Hazel could could add a "-" between the the numbers representing the year and the month. So if I downloaded the January 2017 statement part of the name would be 201701. In this case PayPal's file naming of statement already includes the date in the name in the format of a four number year and 2 number month. I was just trying to figure out how insert something into a downloaded file name using Hazel. If this cannot be done it will not be a big problem because moving forward I can just use "date created ±" and modify the date by adjusting it one month backwards as I do with my other statements. I am just wondering if I can in this case insert a dash in the existing number format. I tried a different approach by using the "date created ±" thinking that the downloaded file would have the original creation date but creation date is changed to the download date. This is the format I use for almost all of my various statements. I just want to add a dash after the part of the number that is the year so that the rename date is 2016-05. For example, their date format is "201605" for May 2016. The issue I am having now is that I am unable to figure out how to insert a "-" in the date format that PayPal uses in naming the file. You can use that feature to parse out parts of the filename and put them back together in whatever form you need. Mr_Noodle wrote:Look up "match patterns" in the help.
0 Comments
Leave a Reply. |