This is a bit off my normal ColdFusion topic, but one worth mentioning. I'm moving an application to a new folder on my linux-based web server. Unfortunately, the app created a series of files in a series of folders that all have the old path. They are generated by the app and only exist on the web server, so I cannot change them locally and re-publish them. In order to change the paths, I used a new-to-me technique called "Perl DASH pie". Now, I haven't actively developed on Perl for years (eg. pre-ColdFusion), but this is a beaut! Here is the syntax that you run from the linux bash prompt:
How easy is that? For even more power, combine that command with the find command to choose your file list:
(Note the strange mix of single quotes and angled quotes if you are trying to reproduce this!) Very powerful stuff!