Re: listing a huge amount of file on one file system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vince,

find will work better for you in that situation.  Its still going to take a
god awfull long time but at least you'll be able to see it while it works.

find . -maxdepth 1

There are several different ways to have the output go to a file within find
itself rather than just redirecting the output.  You can look them up in the
ACTIONS section of the man page.

Russell

On 6/6/06, Esquivel, Vicente <Esquivelv@xxxxxxx> wrote:

I wouldn't need it if it weren't for a problem that we were having with
our Veritas Netbackup server not being able to backup this specific
server.  So the Veritas support folks wanted to get a listing of the
files in that directory.

Vince

> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx
> [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of
> McDougall, Marshall (FSH)
> Sent: Tuesday, June 06, 2006 11:00 AM
> To: General Red Hat Linux discussion list
> Subject: RE: listing a huge amount of file on one file system
>
> "One of our servers that is running on RHEL 4, has a
> directory that contains over 2 millions files in it and growing"
>
> Silly question:
>
> If the directory has over 2,000,000 files in it, why would
> you want to do an ls -l?  Is there something more specific
> that you are trying to accomplish with a file listing?
>
> Regards, Marshall
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux