User Tools

Site Tools


code:work:lvisf:2024:field_processing:arcsix:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
code:work:lvisf:2024:field_processing:arcsix:start [2024/10/15 17:22] – [Final Raid Inventory] davidcode:work:lvisf:2024:field_processing:arcsix:start [2024/10/15 17:30] (current) – [Final Raid Inventory] david
Line 255: Line 255:
 ==== Final Raid Inventory ==== ==== Final Raid Inventory ====
  
 +  * Ensure each drive has a meta and inventory entry
 +  * Copy inventory and meta files to three places **drive_meta/year/campaign/**
 +    * camera, card, lvisf, nav, rtp, usb
 +    * Box, Teams and Wiki <code>
 +# manual creation of inventory
 +time_date=$(date '+%Y%m%d')
 +time_time=$(date '+%H%M%S')
 +inventory_output="${camera_basepath}/inventory/${time_date}_${time_time}_${camera_diskid}_${linkname}_inventory.txt"
 +meta_output="${camera_basepath}/meta/${linkname}.txt"
 +mkdir -p ${camera_basepath}/inventory/ ${camera_basepath}/meta/
 +meta_path="${camera_basepath}/meta/"
 +drivemeta=$(df -h | grep ${camera_mountpoint})
 +echo "${time_date} ${time_time} ${camera_diskid} ${drivemeta}"
 +echo "${time_date} ${time_time} ${camera_diskid} ${drivemeta}" >> ${meta_output}
 +echo "find ${camera_mountpoint} -type f -exec ls -l {} \; >> ${inventory_output}"
 +find ${camera_mountpoint} -type f -exec ls -l {} \; >> ${inventory_output}
 +</code>
   * **md5deep** will follow symbolic links, so run this <code>   * **md5deep** will follow symbolic links, so run this <code>
 time sudo find /mnt/archive/ -type f -exec md5deep -z {} \; > ~/md5deep_archive2024_all.txt time sudo find /mnt/archive/ -type f -exec md5deep -z {} \; > ~/md5deep_archive2024_all.txt
code/work/lvisf/2024/field_processing/arcsix/start.1729012935.txt.gz · Last modified: 2024/10/15 17:22 by david