waling a directory with very many files

M

Mel

Steven said:
Piping the output of ls to less is a GUI-centric mentality?

Yeah. The "dump it on the user" idea, or more politely "can't decide
anything until the user has seen everything" is evident in the most
"characteristic" GUIs.

Mel.
 
S

Steven D'Aprano

Yeah. The "dump it on the user" idea, or more politely "can't decide
anything until the user has seen everything" is evident in the most
"characteristic" GUIs.


Perhaps you're using different GUIs to me. In my experience, most GUIs
tend to *hide* data from the user rather than give them everything under
the sun.

The classic example is Windows, which hides certain files in the GUI file
manager even if you tell it to show all files.
 
L

Lawrence D'Oliveiro

Steven said:
Perhaps you're using different GUIs to me. In my experience, most GUIs
tend to *hide* data from the user rather than give them everything under
the sun.

Which is getting a bit away from what we're discussing here, but certainly
it is characteristic of GUIs to show you all 400,000 files in a directory,
or at least try to do so, and either hang for half an hour or run out of
memory and crash, rather than give you some intelligent way of prefiltering
the file display up front.
 
L

Lie Ryan

Lawrence said:
Which is getting a bit away from what we're discussing here, but certainly
it is characteristic of GUIs to show you all 400,000 files in a directory,
or at least try to do so, and either hang for half an hour or run out of
memory and crash, rather than give you some intelligent way of prefiltering
the file display up front.

In many debugging cases, you don't even know what to filter, which is
what I was referring to when I said "Even with glob and grep ..."

For example, when the problem mysteriously disappears when the file is
isolated
 
L

Lawrence D'Oliveiro

In many debugging cases, you don't even know what to filter ...

So pick a random sample to start with. Do you know of a GUI tool that can do
that?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top