diff --git a/legacy/getpsdpaths b/legacy/getpsdpaths new file mode 100755 index 00000000..37002b84 --- /dev/null +++ b/legacy/getpsdpaths @@ -0,0 +1,45 @@ +#!/bin/bash + +# config... +MNT_PATH=/mnt/l/mnt/ +ARCHIVE_PATTERN=*\(photo\) +EXT=psd +# this is here to avoid using windows find in some tontexts... +FIND=/bin/find + + +if [[ $1 == "" ]] ; then + echo Error: need a list of files to process... + exit 1 +fi + +# build pattern... +PATTERN="${1/.jpg/}" +shift +while [[ "$1" != "" ]] ; do + # grow the pattern... + PATTERN="$PATTERN\|${1/.jpg/}" + shift +done +PATTERN=".*/\($PATTERN\)\.$EXT" + +#echo $PATTERN 1>&2 + +# do the actual find... +cd "$MNT_PATH" + +for a in $ARCHIVE_PATTERN ; do + cd "$a" + echo Searching: $a... 1>&2 + # find the files... + $FIND . -iregex "$PATTERN" \ + -exec cygpath -aw \{} \; + + ##for i in `$FIND . -iregex "$PATTERN"` ; do + ## echo Found: `basename "$i"` 1>&2 + ## echo `cygpath -aw "$i"` + ##done + cd .. +done + +# vim:set sw=4 ts=4 : diff --git a/ui/TODO.otl b/ui/TODO.otl index 51aa6d63..73e33f6e 100755 --- a/ui/TODO.otl +++ b/ui/TODO.otl @@ -31,6 +31,11 @@ Priority work | [X] stage I: position the promoted/demoted image correctly [_] stage II: scroll ribbons correctly + | this is simple: + | - center the right edge of image returned + | by getImageBefore in all ribbons other than current... + | - center current-image in current ribbon + | - vertically center the current ribbon (negative margin?) [_] 0% correct zooming and modes [_] zooming in ribbon view [_] zoom presets for ribbon view @@ -49,6 +54,7 @@ Priority work [_] actions [_] 0% misc [_] add sort/re-sort capability... + [_] make scrolling of other ribbons proportional to the gap... [_] 0% Preview III [_] 0% native client [_] windows