Extract a list of username and e-mail adress

  • Nobody/Anonymous

    I need to extract a list of usernames and e-mail adresses from my YaWPS site.

    Since the site containts over 1000 profiles I can`nt do it manually.

    Any suggestions?

    • P. García

      P. García - 2005-04-22

      Use de folowing scrpit (in tcsh) at .../cgi-bin/db/members/:


      foreach a (*.dat)
      if (($a != "membergroups.dat") && ($a != "memberlist.dat")) then
      head -2 $a | tail -1 >> /tmp/users.dat
      head -3 $a | tail -1 >> /tmp/emails.dat

      paste /tmp/users.dat /tmp/emails.dat
      rm /tmp/users.dat /tmp/emails.dat


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks