Add --since option to marc_export cl script user/mcooper/add_since_date_to_exports
authorMark Cooper <markchristophercooper@gmail.com>
Mon, 20 May 2013 22:02:50 +0000 (15:02 -0700)
committerMark Cooper <markchristophercooper@gmail.com>
Wed, 22 May 2013 15:48:48 +0000 (08:48 -0700)
commit16a0b3521d05a8095fa9d55ec38648225288b3ab
treed30e9ea1759b73a2737ee3727ab49e67664253d2
parent2390d0213581fdc7baa143026c594988bde5350f
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>
Open-ILS/src/support-scripts/marc_export.in