Ignore:
Timestamp:
2023-06-17T17:29:28+12:00 (10 months ago)
Author:
davidb
Message:

Extending the set of documents process to include the Lab manuals

Location:
gs3-installations/computing50/trunk/sites/computing50/collect/celebrating-50-years/prepare
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-installations/computing50/trunk/sites/computing50/collect/celebrating-50-years/prepare/02-UNZIP.sh

    r37503 r37774  
    11#!/bin/bash
    22
    3 unzip Shirts-20230216T014432Z-001.zip
    4 unzip "Lab manuals-20230216T010735Z-001.zip"
     3if [ ! -d Shirts ] ; then
     4    unzip Shirts-20230216T014432Z-001.zip
     5fi
     6
     7if [ ! -d "Lab manuals" ] ; then
     8    unzip "Lab manuals-20230216T010735Z-001.zip"
     9fi
     10
     11
     12if [ -f "Lab manuals/2018-COMPX251_252_COMP221-18S-8-(HAM) (40.jpeg" ] ; then
     13    echo "Fixing up: Lab manuals/2018-COMPX251_252_COMP221-18S-8-(HAM) (40.jpeg"
     14    mv "Lab manuals/2018-COMPX251_252_COMP221-18S-8-(HAM) (40.jpeg" "Lab manuals/2018-COMPX251_252_COMP221-18S-8-(HAM) (40).jpeg"
     15fi
     16
     17
     18if [ -f "Lab manuals/2013-COMP223_COMP278-13A-2-(HAM) (30.jpeg" ] ; then
     19    echo "Fixing up: Lab manuals/2013-COMP223_COMP278-13A-2-(HAM) (30.jpeg"
     20    mv "Lab manuals/2013-COMP223_COMP278-13A-2-(HAM) (30.jpeg" "Lab manuals/2013-COMP223_COMP278-13A-2-(HAM) (30).jpeg"
     21fi
     22                         
     23
     24
     25
Note: See TracChangeset for help on using the changeset viewer.