Re: Backing up suggestions?
- From: Vahis <waxborg@xxxxxxxxxxxxxxxx>
- Date: Mon, 21 Aug 2006 22:16:31 +0300
Vahis wrote:
David Bolt wrote:
On Sun, 20 Aug 2006, houghi <houghi@xxxxxxxxxxxxxxxxxx> wrote:-
David Bolt wrote:I already have a few scripts that do a lot of the work for me. The part
There is quite a bit of self-discipline required for this back-up regimeThis is where scripts get ito place very nicely.
because it means that as soon as I have copied the pictures from the
memory card, I have to ensure I have updated all my back-ups before I
can wipe the card and put it back in the camera.
Write a script called 'photobackup' that does all this for you. Using
zenity or kdialog, you can let the backup do its work and pop-up if you
need to interact, like connect the other PC, put the second or first dvd
in and so on.
that imposes the self-discipline is the bit between copying the pictures
from the memory card and making the backups. It's this point where I go
through checking each individual picture and renaming them to something
more recognisable than just the default img_1234.jpg[0].
After all the pictures have been renamed, I use another script that
first checks the USB drive is present before starting the copying
process[1]. It is only after this process is completed without errors
does the script delete the images on the memory card.
I once studied briefly (looked too complex for me to do though)
kind of "autorunning" USB drives.
When a USB device is plugged in the hotplug daemon will call a
script by the same name somewhere, I can't remember where
(etc/hotplug?)
Your own lines can be added to this script. You could play sounds
or sync files or whatever.
I'll try to find something about that stuff here :)
<Snippety>
Instead of kdialog, you can use zenity. Instead of cp, you can use rsyncFor this job, I'd prefer not to use the GUI. Checking and sorting
and instead of taking my example, you can write something usefull. ;-)
pictures does require use of a GUI but, for the actual renaming and
archiving, I use a text console because it feels quicker.
Anyway, my present routine follows a nice sequence:
1, insert memory card into card reader;
2, plug in USB drive;
3, use script to copy files for temporary location ready for sorting;
The autorun thing goes here.
Vahis
Here's something:
http://jphoto.sourceforge.net/?selected=sync
Vahis
--
Sometimes I reply to top posters. Seldom. And usually just once.
http://waxborg.servepics.com/English/Linux/SUSE.10.1/suse10.1.html
SUSE Linux 10.1 Suomi:
http://waxborg.servepics.com/Linux/10.1/suse-10.1.html
.
- References:
- Backing up suggestions?
- From: Bob Adams
- Re: Backing up suggestions?
- From: orrin1933-usenet
- Re: Backing up suggestions?
- From: David Bolt
- Re: Backing up suggestions?
- From: houghi
- Re: Backing up suggestions?
- From: David Bolt
- Re: Backing up suggestions?
- From: Vahis
- Backing up suggestions?
- Prev by Date: Re: Yast? Zen? Two pkg managers? Need quick explanation.
- Next by Date: Re: Install 10.1 - always this slow? Maybe net?
- Previous by thread: Re: Backing up suggestions?
- Next by thread: Re: Backing up suggestions?
- Index(es):
Relevant Pages
|