Changeset 37121


Ignore:
Timestamp:
2023-01-07T22:43:04+13:00 (16 months ago)
Author:
davidb
Message:

Change of name of collection to reflect the planned move to have programmes and metadata about performers together in one collection

Location:
gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes-and-performers
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes-and-performers/prepare/01-ARCHIVE-TO-ITEM.sh

    r36998 r37121  
    1010fi
    1111
    12 for full_archive_dir in Archive/HMS_*[0-9] ; do
     12#for full_archive_dir in Archive/HMS_*[0-9] Archives/BMS_[0-9]_[0-9]_*[0-9] ; do
     13for full_archive_dir in Archive/* ; do   
    1314    echo "Processing $full_archive_dir"
    1415    archive_dir=${full_archive_dir##*/}
     
    3233   
    3334    #images=$(cd $full_archive_dir/TIFFs && ls ${archive_dir}_[0-9][0-9][0-9][0-9].tif)
    34     images=$(cd $full_archive_dir/JPEGs && ls ${archive_dir}_[0-9][0-9][0-9][0-9].jpg)
     35    #images=$(cd $full_archive_dir/JPEGs && ls ${archive_dir}_[0-9][0-9][0-9][0-9].jpg)
     36    images=$(cd $full_archive_dir/JPEGs && ls ${archive_dir}_*[0-9].jpg)   
    3537
    3638    echo "  Appending/Copying Images"
  • gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes-and-performers/prepare/02-COPY-TO-IMPORT.sh

    r36998 r37121  
    33echo "Copying Items/HMS_* directories to ../import"
    44
    5 for full_d in Items/HMS_* ; do
     5#for full_d in Items/HMS_* ; do
     6for full_d in Items/*_*[0-9] ; do
    67    d=${full_d##*/}
    78    if [ -d ../import/$d ] ; then
     
    1011    fi
    1112
    12     echo "  Copying $d"
    13     /bin/cp -r $full_d ../import/.
     13    #echo "  Copying $d"
     14    #/bin/cp -r $full_d ../import/.
     15
     16    # Example of recursive copy that uses hardlinks for files
     17    # rsync -av --link-dest="$PWD/a" a/ b
     18    #
     19    # For more details see (down near the bottom)
     20    #   https://unix.stackexchange.com/questions/202430/how-to-copy-a-directory-recursively-using-hardlinks-for-each-file
     21
     22    echo "  Hardlink file recursive copying $d"
     23    rsync -av --link-dest="$PWD/$full_d" $full_d/ ../import
     24
     25
    1426done
    1527
Note: See TracChangeset for help on using the changeset viewer.