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.
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.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.