I'm a Gnome user and I'm trying KDE 5. When I was using Nautilus (Gnome), I had a bunch of shell script actions that worked on a list of selected file paths given by the variable $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS
.
Reading this answer, I am aware that Dolphin actions provide the code %F: A list of files. Use for apps that can open several local files at once. Each file is passed as a separate argument to the executable program
.
The problem is that Each file is passed as a separate argument to the executable program, while my scripts are designed to work with the variable $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS.
Ideally, I would like to reuse my old scripts. Is it possible to convert the Dolphin's %F
list and set it as the variable $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS
for my scripts?