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!

fFILE LISTING ON NETWORK

Status
Not open for further replies.

ScotsLass

MIS
Sep 9, 2003
99
US
HELLO AGAIN, FOLKS

ON MY NOVELL NETWORK 4.11 IT CLAIMS THAT I HAVE 13.5GB
SPACE USED AND 3.5GB AVAILABLE. DOES ANYONE KNOW HOW I CAN
LIST ALL FILES ON THE NETWORK WITH THE SIZE OF FILES
INSTEAD OF GOING INTO EACH SUBDIRECTORY AND WRITING DOWN
THE SIZE, THIS TAKES A LONG, LONG TIME.

IT SEEMS TO ME THAT 13.5GB IS RATHER EXCESSIVE FOR THE
FILES THAT I AM SEEING.

 
Hi,

From Windows explorer, I would do a search for files that are 10 MB and larger. That would probably be the easiest way and it would make the most sense since I assume you are looking to delete large files.

But as alternative, if you want a listing of ALL the files, you can type the following command in a DOS window at the drive letter that is mapped to SYS:

Dir /s >c:\files.txt

This would list all the files in a file called files.txt on the C: drive of the PC that you are running the command from.

Lou
 
You can also use the NetWare DOS command NDIR to do this. Format would be something like this:


NDIR /S /C /SI GR "1000000"

The command breaks dow as follows:

/S = check subdirectories
/C = Continuous
/SI = Size
GR = Greater
"1000000" = 1Mb Approx

You can pipe this to a file by adding:

> file.txt

to the end


-----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
Hi, Lassie

All of which assumes your problem is large files. However that is not necessarily the case. Depending on the block size used when the volume was allocated, there can be a lot of wasted space if your system creates a lot of small files. For example, a 2k file on a volume with a block size of 64K will use 64K of disk space.

I have an app which creates many small text files (thousands over time) which I have to be careful to allcate a small block size for or else disk space disappears at an amazing rate. The tradeoff is it requires a lot more server memory to cache the fat.

Jock
 
Many thanks to everyone who submitted a reply to this
post. I really appreciate the help. You are certainly
a great bunch of professionals.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top