I create custom caja action with caja action configuration tool. In the command tab the path is shred, the parameters are %f -u. This work perfectly that it delete the file, however I want to make “Are you sure to execute shred” popup. How to do it thanks.
I am using caja on Xubuntu 16.04 btw.
Not sure if you can do conditional chaining of commands in caja action, but try it:
zenity --question && shred %f -u
If it doesn't work, you'll have to write a shell script that do that, and pass %f as argument to the shell script.
Cheers