3 messages in com.perforce.perforce-user[p4] Adding lots of users?| From | Sent On | Attachments |
|---|---|---|
| Tom Kreitinger | 31 Oct 2002 13:07 | |
| Jason Williams | 31 Oct 2002 13:44 | |
| Thomas Bikeev | 04 Nov 2002 01:07 |
| Subject: | [p4] Adding lots of users?![]() |
|---|---|
| From: | Thomas Bikeev (Bik...@ean-int.org) |
| Date: | 11/04/2002 01:07:53 AM |
| List: | com.perforce.perforce-user |
Hi Tom,
here is qick'n'dirty perl script, which does the job:
===============================__CUT__=============================== #!/usr/bin/perl -w use strict;
my ($id, $firstname, $lastname, $mail);
while (<DATA>){
($id, $firstname, $lastname, $mail)= split; open OUT, ">.tmp" or die "can not open temp file";
{ print OUT <<EOF User: $id
Email: $mail
FullName: $firstname $lastname
EOF }
qx /cat .tmp | p4 user -i -f /; close OUT; }
__DATA__ TKREITINGER Tom Kreitinger tkreitinger at impactxoft.com TKREITINGER Tom Kreitinger tkreitinger at impactxoft.com TKREITINGER Tom Kreitinger tkreitinger at impactxoft.com etc...
===============================__CUT__===============================
Thomas Bikeev EAN International
-----Original Message----- From: Tom Kreitinger [mailto:tkreitinger at impactxoft.com] Sent: 31 October 2002 22:07 To: perforce-user at perforce.com Subject: [p4] Adding lots of users?
Greetings,
Is there some type of trick for adding a lot of users to a new Perforce installation?
Thanks, Tom
_______________________________________________ perforce-user mailing list - perforce-user at perforce.com http://maillist.perforce.com/mailman/listinfo/perforce-user




