🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #4576

Re: du How does du work?

#4576
From: Icarus Sparry
Date: Fri, 08 Nov 1996 00:00
12 lines
1338 bytes
In the referenced article, lbliao@alumnae.caltech.edu (lbliao) writes:
>How does du work? How does it descend down the filesystem and get the name
>of each file? Is there a command that can recursively descend the file system
>and give the name of the file to do something to? The other option of piping
>or storing may be RAM or harddisk intensive.

If you are writing the program in C, you should see if the 'ftw' library
routine is available.

If you are writing in sh, then you should examine the 'find' command.
Icarus
Technical Details
Message-ID: <E0Js98.JHp.B.ss1@bath.ac.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <55u7ak$n7a@gap.cco.caltech.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8c9b,8c44339d2a70be4e
X-Google-Attributes: gidf8c9b,public
X-Google-Thread: f72b0,8c44339d2a70be4e
X-Google-Attributes: gidf72b0,public
X-Google-Thread: fc89c,8c44339d2a70be4e
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 1025b4,8c44339d2a70be4e
X-Google-Attributes: gid1025b4,public
X-Google-Thread: 1012a6,8c44339d2a70be4e
X-Google-Attributes: gid1012a6,public
From: ccsis@bath.ac.uk (Icarus Sparry)
Subject: Re: du How does du work?
Date: 1996/11/08
Message-ID: <E0Js98.JHp.B.ss1@bath.ac.uk>
X-Deja-AN: 195674183
references: <55u7ak$n7a@gap.cco.caltech.edu>
organization: Bath University Computing Services, UK
newsgroups: comp.unix.shell,comp.unix.programmer,comp.unix.questions,comp.unix.misc,gnu.misc.discuss