Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

            2017009_01_001_readme.txt

Step-by-step guide

 

  • Start MS Excel application

  • In the first column of your spreadsheet, type in “mkdir” (the “make directory” command)

  • You will need to decide whether you’ll be creating a local staging folder and what that folder will be named. For this collection, I initially created a desktop folder with the accession number as its title (2017009). N.b., when working in Terminal, you will need to “cd” to the correct folder location, otherwise the directories you create will all be output to your “home” (user) directory. If you want your staging folder on your desktop, just type in “cd Desktop” at the command prompt and hit “return” to execute. 

  • In the second column of your spreadsheet, type in the name of your staging folder (e.g., 2017009)

  • In the third column, type in the first AIP folder title as your starting value (e.g., 2017009_01_001), then enter the second AIP folder title just below it to establish a pattern. Highlight both cells and hover the mouse over the lower right-hand corner of the bottom cell, then drag your mouse downward to auto-fill as many cells as needed. Repeat for different media groups (i.e., repeat with starting value of 2017009_02_001, etc.). Note that for every row, the mkdir command must be followed by the entire file path. Below I’ve included a sample of what the spreadsheet should look like at this point:

  • Once every top-level (AIP) folder has been created, you’ll next want to create your sub-directories. Copy and paste all the values into a new tab in your spreadsheet. In the next (fourth) column, type in “_diskimage,” hover over the lower right-hand corner of the cell and drag down to auto-fill the necessary cells.

...

  • Now that the correct values have been generated, you’ll want to replace the _diskimage column. Since the values were created using a formula, be careful not to alter them by simply deleting column D. First, copy the new set of values, then navigate to the Edit tab and select “Paste special” (^++V), make sure “Values” is selected and hit “OK.” Then proceed to delete column D.

  • Repeat procedure for “_media_photographs” sub-directories.
  • Finally, run terminal and paste command + the directory paths at the prompt. Repeat for sub-directories, as necessary.

 

 

Info

Filter by label (Content by label)
showLabelsfalse
max5
spacesapl
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("processing","command-line","directory","born-digital") and type = "page" and space = "apl"
labelscommand-line directory born-digital processing

...