Rename file and remove recognized date in name
Posted: Thu Mar 19, 2020 4:55 am
Hello, everybody,
I have a little challenge changing the file name with Hazel.
In my rule I want Hazel to replace the date recognized in the filename with new defaults.
Here is the example
Original file:
20200317 filename.pfd or
2020_03_17_filename.pdf
Current change
2020-03-17 20200317 filename.pdf
2020-03-17 2020_03_17_filename.pdf
Desired change
2020-03-17 filename.pdf
Maybe someone here can help me.
Thanks a lot.
I have a little challenge changing the file name with Hazel.
In my rule I want Hazel to replace the date recognized in the filename with new defaults.
Here is the example
Original file:
20200317 filename.pfd or
2020_03_17_filename.pdf
Current change
2020-03-17 20200317 filename.pdf
2020-03-17 2020_03_17_filename.pdf
Desired change
2020-03-17 filename.pdf
Maybe someone here can help me.
Thanks a lot.