Re: Backing up suggestions?



David Bolt wrote:
On Sun, 20 Aug 2006, houghi <houghi@xxxxxxxxxxxxxxxxxx> wrote:-

David Bolt wrote:
There is quite a bit of self-discipline required for this back-up regime
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.

This is where scripts get ito place very nicely.
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.

I already have a few scripts that do a lot of the work for me. The part
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 rsync
and instead of taking my example, you can write something usefull. ;-)

For this job, I'd prefer not to use the GUI. Checking and sorting
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

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



Relevant Pages

  • Re: Backing up suggestions?
    ... The part that imposes the self-discipline is the bit between copying the pictures from the memory card and making the backups. ... After all the pictures have been renamed, I use another script that first checks the USB drive is present before starting the copying process. ... Checking and sorting pictures does require use of a GUI but, for the actual renaming and archiving, I use a text console because it feels quicker. ...
    (alt.os.linux.suse)
  • Re: Backing up suggestions?
    ... memory card, I have to ensure I have updated all my back-ups before I ... Write a script called 'photobackup' that does all this for you. ... that imposes the self-discipline is the bit between copying the pictures ... kind of "autorunning" USB drives. ...
    (alt.os.linux.suse)
  • Re: Camera detected but no install
    ... I have a USB card reader and have no trouble getting the pictures off the ... memory card that way. ... Let's begin by copying the image files ... New / Folder. ...
    (microsoft.public.windowsxp.photos)
  • Re: Kinda OT: Digital Cameras
    ... delete any during the cruise. ... deleting the whole flash card.... ... All very valid points and you might add that deleting the excess pictures ... very standard memory card, not something unique like a memory stick. ...
    (rec.travel.cruises)
  • Re: wife-proof way to launch ppp?
    ... You could even start X with a script from her ... Pictures of nephews. ... >Does that mac support running NetBSD? ...
    (comp.unix.bsd.freebsd.misc)