Thank you for your reply.
Unfortunately, I wasn't clear. I also use Mint, since 'Helena' and have
configured the heck out of the user interface. I use it for doing
anything serious on-line: I don't trust Windows. As time moves forward
the slow drift to Linux will dominate. I consider Windows a toy and
always have. Because I know Xp quite well and seem to want to do things
others don't. The posted script, though simple is surprisingly tricky
to write. here's one example of its failings; If you run it, put a
DVD in the tray and leave, the DVD may loop forever if the player is not
configured not to. Even so, if you want to use two DVDs and a memory
resident utility they will just play one after the other forever. There
are so many caveats, traps and dead ends. I don't like television and
Xp, to me, is like playing 'SimCity' where you can go into a building
and do some actual work. I have many such utilities.
Here's another one. Drive C: images to 1.3GB and is part of the back-up
schedule. If a new latest image has replaced the old latest, replaced by
another utility that manages images in its own directory and notifies
when the three oldest images have been sent to the write-DVD directory.
The sample below is cut out of a multi-thumb drive batch, so errors are
most lightly there. All I have to do is put whatever drives into
whatever slots and go to sleep. A scheduler does the night shift.
What I'm looking for is someone, like me, on the Linux side to point me
to a suitable general glue for Linux; as batch files are for Windows.
-----------------------
@echo off
set ffsync=e:\test\freefilesync\freefilesync.exe
set apps_dir=apps
set apps_batch=apps backup.ffs_batch
set drv=L:
if exist "%drv%\%apps_batch%" goto run_apps
set drv=M:
if exist "%drv%\%apps_batch%" goto run_apps
/the other drive letters go here/
set drv=Y:
if exist "%drv%\%apps_batch%" goto run_apps
set drv=Z:
if exist "%drv%\%apps_batch%" goto run_apps
:run_apps
%drv%
if not exist "%drv%\%apps_dir%\" mkdir "%drv%\%apps_dir%"
"%ffsync%" "%drv%\%apps_batch%"
:end
-----------------------
Zak Hipp