Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-1524

DO457-59: Temporary "lab" command replacement (until I create the *real* lab command)

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Not a Bug
    • Icon: Major Major
    • DO457 - RHAE2.5 1 20180720
    • DO457
    • None
    • ILT, ROLE, VT
    • en-US (English)

      URL: http://materials.example.com/content/
      Reporter RHNID: gspurgeo
      Section: -
      Language: en-US (English)
      Workaround: [student@workstation ~]$ cd
      [student@workstation ~]$ wget -np -r http://materials.example.com/content/
      [student@workstation ~]$ mv mater*/content ~/answers
      [student@workstation ~]$ rm -rf ~/material*
      [student@workstation ~]$ find ~/answers -iname 'index.html*' -type f -print | xargs /bin/rm -f

      Then for each lab you could do (where X = chapter and Y = the GE Number)

      [student@workstation ~]$ rsync -rvPha ~/answers/chX/geX-Y/ ~/proj/

      You MUST run each and every rsync consecutively i.e

      [student@workstation ~]$ rsync -rvPha ~/answers/ch1/ge1-1/ ~/proj/
      [student@workstation ~]$ rsync -rvPha ~/answers/ch1/ge1-2/ ~/proj/
      [student@workstation ~]$ rsync -rvPha ~/answers/ch1/ge1-3/ ~/proj/

      and so on, to build up the complete /proj/ directory as you go, just jumping to "[student@workstation ]$ rsync -rvPha ~/answers/ch3/ge3-2/ ~/proj/" without the previous ones will result in an incomplete ~/proj/ folder, due to the original structure of the content in http://materials.example.com/content/

      Description: This class is missing the "lab XXX setup / lab XXX solve" catch-up commands.

              rht-sbonnevi Steven Bonneville
              gspurgeo DaGeek (Gavin Spurgeon)
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: