/usr/lib/geeqie/geeqie-symlink is in geeqie-common 1:1.1-8.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/bin/sh
# This is a helper script that symlinks grouped files
# it uses geeqie remote connection to get details about grouped files
# iterate over files on commandline
for file in "$@" ; do
# we got only one file for each group, typically the main one
# get the sidecars:
geeqie -r --get-sidecars:"$file" |while read sidecar ; do
# the main file is included in the sidecar file list, no special handling is required
# get destination path for each sidecar file:
geeqie -r --get-destination:"$sidecar" | if read destination ; then
ln -s "$sidecar" "$destination"
fi
done
done
|