Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List files of certain owner

Status
Not open for further replies.

rpmrob

Technical User
Apr 23, 2003
34
CA
Hi:

I'm a regular user on our Novell network. My portion of a shared drive keeps getting used up and I often have to scrounge through and find any files with my name on them and delete un-necessary ones. Is there anyway I can list files that I have my name stamped on them ? I've asked my NW Admin, but they keep telling me they don't have the time to figure it out.

Thanks!

RobC
 
From a DOS prompt, you can use the NDIR command to do this, syntax is something like this:

NDIR *.* /OW EQ "USERNAME" /S

Basically, this will list all files owned by the user USERNAME (the /S searches subdirectories). You can pipe this to a file by using this syntax:

NDIR *.* /OW EQ "USERNAME" /S /C > file.txt

(the /C makes the output run continous).

Marv is right, your admin seems a right lazy arse if he/she cannot even he you do do simple reporting like this? It took me 2 minutes to figure out the NDIR switches....

-----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
Provogeek,

Great site! I have finally found some undates to utilities I've had for years and years. I just need the time to play. ;-)

Thanks!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top