02-21-2005
From what I can recall from working with Active Directory under Windows 2000, you can export a lot of stuff to CSV (comma separated values) files.
There is a command called "csvde" that should do what you want - there is a lot of information
here. It should be present on Windows 2000 and 2003 Servers, and Windows XP.
Then it'd be a simple case of FTP'ing the file to your UNIX box.
Cheers
ZB
10 More Discussions You Might Find Interesting
1. Solaris
I have a text file with rows of information (it is basically a ls command information(o/p from ls command))
I need to remove the lines ending with a .cnt extension and keep the lines ending with .zip extension, how to accomplish this.
I also only need the date,size and name of the file from every... (2 Replies)
Discussion started by: ramky79
2 Replies
2. Shell Programming and Scripting
HI
I'm looking to delete lines ending with .tk from below data file
---------
abc.tk
mgm.tk
dtk
mgmstk
------
I have written below code
----
sed '/.tk *$/d' dat_file.txt > temp.txt
----
But its deleting all the lines ending with tk. I need to delete only the lines ending .tk
my... (5 Replies)
Discussion started by: shekhar_v4
5 Replies
3. Shell Programming and Scripting
Hi i want to know the content of files that ends with @ in /bin directory like ls@ etc. (4 Replies)
Discussion started by: bhavesh.sapra
4 Replies
4. Shell Programming and Scripting
Hi,
I'm trying to use sed within a shell script (bash, running ubuntu). The command works fine from the command line, but when I use it within the script, rather than creating a file with the name I've specified, it creates one that ends with a question mark '?' when you use ls, e.g.... (3 Replies)
Discussion started by: jennykay
3 Replies
5. SCO
Hi
Current SCO Unix 5.05
I see that there are filenames with @ at the end of file name for example
in the /usr/lib there is file lpadmin@
what does the @ represent when it is at the end of the file name
Thanks (4 Replies)
Discussion started by: atish0
4 Replies
6. Shell Programming and Scripting
Hi, I have a series of files (upwards of 500) the filename format is as follows
CC10-1234P1999.WGS84.p190
each of this files is in a directory named for the file but excluding the extension.
Now the last three numeric characters, in this case 999, can be anything from 001 to 999, I need to... (3 Replies)
Discussion started by: roche.j.mike
3 Replies
7. Shell Programming and Scripting
Hi, I have multiple large files which consist of the below format:
I am trying to write an awk or sed script to remove all occurrences of the 00 record except the first and remove all of the 80 records except the last one.
Any help would be greatly appreciated. (10 Replies)
Discussion started by: nwalsh88
10 Replies
8. Shell Programming and Scripting
Hi
This is my first post and I'm just a beginner. So please be nice to me.
I have a couple of html files where a pattern beginning with "http://www.site.com" and ending with "/resource.dat" is present on every 241st line. How do I extract this to a new text file?
I have tried sed -n 241,241p... (13 Replies)
Discussion started by: dejavo
13 Replies
9. Shell Programming and Scripting
Hi,
I have numerous files which have data in the following format
A|B|123.|Mr.|45.66|33|zz
L|16.|33.45|AC.|45.
I want to remove decimal point only if it is last character in a number.
O/p should be
A|B|123|Mr.|45.66|33|zz
L|16|33.45|AC.|45
I tried this
sed -e 's/.|/|/g'
Problem... (6 Replies)
Discussion started by: wahi80
6 Replies
10. Shell Programming and Scripting
Hello Sirs,
I'm trying to understand what does it mean when a file name ends with ".$$"
Like in the below snippet.
if ; then
cat /tmp/input0.$$ >> $filename
Please help me understand it. Thanks in advance. (4 Replies)
Discussion started by: rookee
4 Replies
LEARN ABOUT DEBIAN
net::server::proto::unix
Net::Server::Proto::UNIX(3pm) User Contributed Perl Documentation Net::Server::Proto::UNIX(3pm)
NAME
Net::Server::Proto::UNIX - Net::Server UNIX protocol.
SYNOPSIS
See Net::Server::Proto.
DESCRIPTION
Protocol module for Net::Server. This module implements the UNIX SOCK_STREAM socket type. See Net::Server::Proto.
Any sockets created during startup will be chown'ed to the user and group specified in the starup arguments.
PARAMETERS
The following paramaters may be specified in addition to normal command line parameters for a Net::Server. See Net::Server for more
information on reading arguments.
unix_type
Can be either SOCK_STREAM or SOCK_DGRAM (default is SOCK_STREAM). This can also be passed on the port line (see Net::Server::Proto).
However, this method is deprecated. If you want SOCK_STREAM - just use proto UNIX without any other arguments. If you'd like
SOCK_DGRAM, use the new proto UNIXDGRAM.
METHODS
NS_unix_path/NS_unix_type
In addition to the standard NS_ methods of Net::Server::Proto classes, the UNIX types also have legacy calls to NS_unix_path and
NS_unix_type.
Since version 2.000, NS_unix_path is simply an alias to NS_port. NS_unix_type is now redundant with NS_proto.
These methods were missing between version 2.000 and 2.003 but have been returned as legacy bridges.
QUICK PARAMETER LIST
Key Value Default
# deprecated UNIX socket parameters
unix_type (SOCK_STREAM|SOCK_DGRAM) SOCK_STREAM
port "filename" undef
# more recent usage
port "filename / UNIX"
port "filename / UNIXDGRAM"
LICENCE
Distributed under the same terms as Net::Server
perl v5.14.2 2012-06-06 Net::Server::Proto::UNIX(3pm)