Well, I have finally gotten a reasonable sorter for graphic files in a
directory, patched together using xv and bash scripts.

I'll list the steps here in case anyone is interested in this problem.
1. Number the graphic files 01 to 99. You need leading zeros.
2. Make subdirectories below the graphics directory, like Exchange, Move,
Target.
3. Write and start daemons, bash scripts, which monitor the entry of files into
these subdirectories.
4. Startup xv with the visual schnauzer in the graphics directory.
5. Move graphic files into appropriate subdirectories with the visual
schnauzer. 

At this point, the scripts take over, and depending on what subdirectories
have received files, all files are renamed and the files put back into the
main graphics directory. The mv command is fast. xv has to be restarted
by the script to make the schnauzer update the view, otherwise you have
to hit the update button. This is not esthetic but it works. Hitting
the update button might be too much to expect from users, and, hitting
the button too soon might cause odd results. Maybe I could make the
script sound a bell when the renaming process is over to alert the user
to press the update button.  If you have a slow computer, hitting the
update button might be a better option. The script must also mv the
.xvpics files so xv won't regenerate the thumbnails, a slow process.

This is actually a general method. Next I will write bash scripts
which will allow the files to be renamed, annotated (display should work
nicely), and commented en bloc, with little user effort. For example, to
rename a batch of slides, use the visual schnauzer to create a temporary
directory with an appropriate name, like SP-02-5000, move the slides
into the directory, and a bash script will rename them all and mv them
back to the main directory, and remove this temporary directory.

I'll keep the list posted, as I am sure this is a topic of great interest.

The one thing I have no idea about is how to easily add arrows to the
graphic files to indicate points of interest, without having to bother
with gimp. I wonder if xv has a way.

Now, if I could only program in C....
Joel

_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to