Interesting, the code shows up correctly for me in firefox. I wonder if that’s due to my instance?
This works perfectly! Thank you!!! In case anyone else finds themselves wondering about the ${0##*.} portion, I found this article to be very helpful. https://stackoverflow.com/questions/30980062/0-and-0-in-sh
edit: You beat me to it with your link on parameter expansion. I’ll be reading through that tonight as well. Thanks again.





My server takes weekly backups via proxmox that are pushed to an NAS. The NAS backups and some additional files are copied up to filen.io for cloud storage. Probably not as professional as many of the setups you will see but it works for me.