I'm using Hazel to run a shell script with this CLI tool to show the name of the file passed to it in a Notification Centre message. I use the following code:
MountainNotifier com.google.Chrome "Download Completed" "$1" ""
How would I get it to show just the name instead of the path to the file as well as the name in the Notification Centre message?