|
Lines 95-101
open STDOUT, '>', $filename if $filename;
Link Here
|
| 95 |
|
95 |
|
| 96 |
my @record_ids; |
96 |
my @record_ids; |
| 97 |
|
97 |
|
| 98 |
$timestamp = ($timestamp) ? output_pref({ dt => dt_from_string($timestamp), dateformat => 'iso', dateonly => 1, }): ''; |
98 |
$timestamp = ($timestamp) ? output_pref({ dt => dt_from_string($timestamp), dateformat => 'iso', dateonly => 0, }): ''; |
| 99 |
|
99 |
|
| 100 |
if ( $record_type eq 'bibs' ) { |
100 |
if ( $record_type eq 'bibs' ) { |
| 101 |
if ( $timestamp ) { |
101 |
if ( $timestamp ) { |
|
Lines 219-225
export records - This script exports record (biblios or authorities)
Link Here
|
| 219 |
|
219 |
|
| 220 |
=head1 SYNOPSIS |
220 |
=head1 SYNOPSIS |
| 221 |
|
221 |
|
| 222 |
export_records.pl [-h|--help] [--format=format] [--date=date] [--record-type=TYPE] [--dont_export_items] [--deleted_barcodes] [--clean] [--id_list_file=PATH] --filename=outputfile |
222 |
export_records.pl [-h|--help] [--format=format] [--date=datetime] [--record-type=TYPE] [--dont_export_items] [--deleted_barcodes] [--clean] [--id_list_file=PATH] --filename=outputfile |
| 223 |
|
223 |
|
| 224 |
=head1 OPTIONS |
224 |
=head1 OPTIONS |
| 225 |
|
225 |
|
|
Lines 235-244
Print a brief help message.
Link Here
|
| 235 |
|
235 |
|
| 236 |
=item B<--date> |
236 |
=item B<--date> |
| 237 |
|
237 |
|
| 238 |
--date=DATE DATE should be entered as the 'dateformat' syspref is |
238 |
--date=DATETIME DATETIME should be entered as the 'dateformat' syspref is |
| 239 |
set (dd/mm/yyyy for metric, yyyy-mm-dd for iso, |
239 |
set (dd/mm/yyyy[ hh:mm:ss] for metric, yyyy-mm-dd[ hh:mm:ss] for iso, |
| 240 |
mm/dd/yyyy for us) records exported are the ones that |
240 |
mm/dd/yyyy[ hh:mm:ss] for us) records exported are the ones that |
| 241 |
have been modified since DATE. |
241 |
have been modified since DATETIME. |
| 242 |
|
242 |
|
| 243 |
=item B<--record-type> |
243 |
=item B<--record-type> |
| 244 |
|
244 |
|
| 245 |
- |
|
|