I have a script that "generates" a sequentially named image (e.g. img_001.jpg) and saves it in a fixed directory, e.g. ~/Documents/Images.
After the file has been created, I'd like to display the folder with the file selected, i.e. similar to how Chrome and Firefox will open the directory of a downloaded file with it already selected.
Apparently my Linux Mint edition uses Caja. I tried,
caja $filename
But Caja decides to actually open the file using the default application. The caja help isn't very useful and I've looked everywhere but can't find any similar questions. Hopefully I'm just using the wrong search terms and Caja does actually support something as basic as this?