3 # This is a helper script that symlinks grouped files
4 # it uses geeqie remote connection to get details about grouped files
7 # iterate over files on commandline
9 # we got only one file for each group, typically the main one
11 geeqie -r --get-sidecars:"$file" |while read sidecar ; do
12 # the main file is included in the sidecar file list, no special handling is required
13 # get destination path for each sidecar file:
14 geeqie -r --get-destination:"$sidecar" | if read destination ; then
15 ln -s "$sidecar" "$destination"