diff --git a/bin/audit_iaids.rb b/bin/audit_iaids.rb index 9d2b8b8..eb8470e 100755 --- a/bin/audit_iaids.rb +++ b/bin/audit_iaids.rb @@ -1,8 +1,8 @@ #!/usr/bin/env ruby -# NOTE: Usage: bin/audit_iaids.rb path/to/json +# INFO: Usage: bin/audit_iaids.rb path/to/json -# INFO: To use this script, you will first need to run bin/map_iaids_by_csv.rb +# NOTE: To use this script, you will first need to run bin/map_iaids_by_csv.rb require_relative '../lib/space_stone' require 'dotenv' diff --git a/bin/ia_to_s3_migrator b/bin/ia_to_s3_migrator index a7c0cf5..2f06b53 100755 --- a/bin/ia_to_s3_migrator +++ b/bin/ia_to_s3_migrator @@ -1,8 +1,8 @@ #!/usr/bin/env ruby -# NOTE: Usage: bin/migrate_iaids path/to/audit_json +# INFO: Usage: bin/migrate_iaids path/to/audit_json -# INFO: To use this script, you will first need to run: +# NOTE: To use this script, you will first need to run: # - bin/map_iaids_by_csv.rb # - bin/audit_iaids.rb diff --git a/bin/map_iaids_by_csv.rb b/bin/map_iaids_by_csv.rb index 58eae0e..8509c7f 100755 --- a/bin/map_iaids_by_csv.rb +++ b/bin/map_iaids_by_csv.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -# NOTE: Usage: bin/map_iaids_by_csv.rb path/to/csv +# INFO: Usage: bin/map_iaids_by_csv.rb path/to/csv require 'csv' require 'json' diff --git a/bin/migrate_iaids b/bin/migrate_iaids index 5f4c968..00198e2 100755 --- a/bin/migrate_iaids +++ b/bin/migrate_iaids @@ -1,6 +1,10 @@ #!/bin/bash set -e +# WARN: This script can run for a long time. Running this within a +# screen session or as a background process is strongly recommended + +# INFO: Usage: bin/migrate_iaids path/to/audit_json # See bin/ia_to_s3_migrator STAGE_ENV=production docker compose run \