for completeness, added legacy scripts directory, this will contain old scripts used in my old workflow...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2012-07-16 21:22:18 +04:00
parent 289d95dc5e
commit 3a68c8cf69
2 changed files with 51 additions and 0 deletions

45
legacy/getpsdpaths Executable file
View File

@ -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 :

View File

@ -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