mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
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:
parent
289d95dc5e
commit
3a68c8cf69
45
legacy/getpsdpaths
Executable file
45
legacy/getpsdpaths
Executable 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 :
|
||||||
@ -31,6 +31,11 @@ Priority work
|
|||||||
|
|
|
|
||||||
[X] stage I: position the promoted/demoted image correctly
|
[X] stage I: position the promoted/demoted image correctly
|
||||||
[_] stage II: scroll ribbons 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
|
[_] 0% correct zooming and modes
|
||||||
[_] zooming in ribbon view
|
[_] zooming in ribbon view
|
||||||
[_] zoom presets for ribbon view
|
[_] zoom presets for ribbon view
|
||||||
@ -49,6 +54,7 @@ Priority work
|
|||||||
[_] actions
|
[_] actions
|
||||||
[_] 0% misc
|
[_] 0% misc
|
||||||
[_] add sort/re-sort capability...
|
[_] add sort/re-sort capability...
|
||||||
|
[_] make scrolling of other ribbons proportional to the gap...
|
||||||
[_] 0% Preview III
|
[_] 0% Preview III
|
||||||
[_] 0% native client
|
[_] 0% native client
|
||||||
[_] windows
|
[_] windows
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user