summaryrefslogtreecommitdiff
path: root/README
blob: 56774b8d400175106c16d7d76642af9d88017b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
digitiz-xfer package

Copyright (c) 2000 Ivan Kohler
Copyright (c) 2000 Digitiz-it!
All rights reserved.
This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.

Installation instructions:

Install Mail::Mailer, Date::Format, Net::FTP and String::ShellQuote from CPAN.
Install Net::SSH, Net::SCP and Digitiz_It::SKU supplied with this distribution.

Copy digitiz-xfer.conf to the /etc directory, and edit the values to taste.

Run digitiz-xfer.

Important note on usage: While digitiz-xfer is running, make sure to place
files in the $source_directory atomicly; in other words, *don't do:

        cp /some/file /opt/media/staging # NO!

but instead do:

        cp /some/file /opt/media/tmpdir
        mv /opt/media/tmpdir/file /opt/media/staging/

(important: /opt/media/tmpdir and /opt/media/staging must be on the *same
filesystem*)

`mv' on the same filesystem is an atomic operation, but a `cp' or `mv' from
a different filesystem isn't.