To Lecture Archiving


Faulty run of addlec command


If you have run the addlec command and find that the links are incorrect, there are many steps to take in order to rectify the situation.

Avoid this by carefully reviewing the .rm file you have created, checking for correct linking of notes, prior to running the addlec command.

The following steps are necessary if you have made the unfortunate mistake of running the addlec command incorrectly.

On Real Prod,

  1. fix the .rm and .txt files
    (be sure the .txt file refers to the correct lecture notes at the correct times)
  2. make certain the correct .rm and .txt file are on the realserv, in the archive, and in the loglink/writable directory

In Ewan
  1. enter gocrs
  2. cp last.rm last2.rm
  1. golec
  2. cd [mmddyy directory]
  3. grep ‘echo “in file ‘ *.done
    This lists the files that have been modified by the addlec command
  4. Write down the file names listed
  5. edit each of the above files
    At the end of the file delete the link inserted that day & time
    all the way from <SCRIPT LANGUAGE="JavaScript"> to the [date] [time] </A></CENTER>
  6. In the same directory edit relinkit
    Remove the appropriate paragraphs, located near the end of the file, for that date
  1. golec
  2. rm –R [date]
    remove directory and all files
    Enter y to examine files (required) and remove all files
  1. edit index.html to remove the link to the lecture
  1. NOW you may run the addlec [mmddyy] command again


To Lecture Archiving