Mercurial > geeqie
annotate plugins/symlink/geeqie-symlink @ 1760:4f081855679f
bar_gps cleanup
- removed the scrollbar
- do not set decel-rate,
https://bugzilla.gnome.org/show_bug.cgi?id=596419
author | nadvornik |
---|---|
date | Sat, 26 Sep 2009 11:37:09 +0000 |
parents | 3840882253fe |
children |
rev | line source |
---|---|
1556
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
1 #!/bin/sh |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
2 |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
3 # This is a helper script that symlinks grouped files |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
4 # it uses geeqie remote connection to get details about grouped files |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
5 |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
6 |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
7 # iterate over files on commandline |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
8 for file in "$@" ; do |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
9 # we got only one file for each group, typically the main one |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
10 # get the sidecars: |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
11 geeqie -r --get-sidecars:"$file" |while read sidecar ; do |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
12 # the main file is included in the sidecar file list, no special handling is required |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
13 # get destination path for each sidecar file: |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
14 geeqie -r --get-destination:"$sidecar" | if read destination ; then |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
15 ln -s "$sidecar" "$destination" |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
16 fi |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
17 done |
3840882253fe
added remote interface for exporting additional info (sidecars,
nadvornik
parents:
diff
changeset
|
18 done |