Futilities/human/ftm/v0.6

From Woozle Writes Code
< Futilities‎ | human‎ | ftm
Jump to navigation Jump to search

Notes

The original CLI help-text was:

     USAGE: ./ftm [<options>] <source folder> <target folder>
       Options:
         --comp-found -cf
         --config-file
         --do-delete -dd
         --finish-part
         --ign-date-chg -id
         --info-only -io
         --list-found -lf

The "do.info" option (don't actually copy, just show information) was not supported because I'm not sure how it's useful here.

Some old config code:

    const ksOPT_FINISH_PART   = 'finish';   // if B smaller than A, see if B is a partial copy of A. Finish copy if so.

    protected function SetupAppOptions() {
        $this->AddAppOptions([
          self::ksOPT_DO_INFO_ONLY  => ['-io','--info-only'],
          self::ksOPT_DO_COMP_FND   => ['-cf','--comp-found'],
          self::ksOPT_IGN_DATE_CHG  => ['-id','--ign-date-chg'],
          self::ksOPT_FINISH_PART   => ['--finish-part'],