projects
/
spider.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove origin node from Spot Dupes as default
[spider.git]
/
cmd
/
export_users.pl
1
#
2
# the export the user file to ascii command
3
#
4
#
5
#
6
my $self = shift;
7
my $line = shift;;
8
return (1, $self->msg('e5')) unless $self->priv >= 9;
9
10
$line ||= 'user_json';
11
my ($fn) = split /\s+/, $line;
12
unless ($fn && $fn eq 'user_json') {
13
$fn =~ s|[/\.]||g;
14
$fn = "/tmp/$fn";
15
}
16
17
my @out = DXUser::export($fn);
18
19
return (1, @out);
20
21