Add --since option to marc_export cl script
authorMark Cooper <markchristophercooper@gmail.com>
Mon, 20 May 2013 22:02:50 +0000 (15:02 -0700)
committerDan Scott <dscott@laurentian.ca>
Thu, 23 Jan 2014 03:35:05 +0000 (22:35 -0500)
commit544eff8730030109e55c95f1449b30f59f5eaf5a
tree61d9df984df0ce0072d98eeb763f0ab233eb7aa1
parent3f639a83df73a99a63210e3b8d353aff3c1bcbf6
Add --since option to marc_export cl script

It's useful to be able to export records from a certain
creation or edit date.
1) We have workflows that require periodic record exports
2) Makes testing quick and easy

Only works with the --all flag

Example: marc_export --all --since=$(date -d '2 months ago' +%Y-%m-%d)
Example: marc_export --all --edited --since=$(date -d '2 days ago' +%Y-%m-%d)

Signed-off-by: Mark Cooper <markchristophercooper@gmail.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/support-scripts/marc_export.in