Re: getting absolute directory path?
- From: lawpoop@xxxxxxxxx
- Date: Mon, 28 Apr 2008 18:42:52 -0700 (PDT)
On Apr 28, 1:25 pm, "Peter H. Coffin" <hell...@xxxxxxxxxxxxx> wrote:
Generally, you'll run out of patience trying to maintain large numbers
of files before you'll run out of room in a single directory.
What would be an example scenario that would try my patience? If it's
editing anything more than 3 files, I'm using command line tools such
as grep, find, bash scripts, or command line perl, rather than doing
it by hand. What would I be able to do to 10 files that would give me
a problem at 10,000? I'll wait 10 seconds instead of less than 1 for
my command to finish when I have 10,000 files.
I run out of patience trying to delve through a crazy directory tree
that's more than three directories wide or deep. There's no easy way
to tell a command line script to ignore certain subdirectories and
apply a function on others. At least, none that I know of.
If it ever gets to the point where some site is more than 10,000
individual php files, well, I'd like to see someone develop that.
Chances are, there is tremendous redundancy in that site, and the
number of files could be greatly reduced. However, if you really do
need 10,000 php pages for this application, LAMP or WAMP is probably
not the proper tool for the job.
Some utilities may have trouble dealing with large numbers of files at once,
so operations of every file in a directory may fail.
On a unix system? I doubt it.
No utility works on a large number of files "at once". It goes through
each file individually, one at a time.
.
- Follow-Ups:
- [OT] Re: getting absolute directory path?
- From: Guillaume
- Re: getting absolute directory path?
- From: Peter H. Coffin
- [OT] Re: getting absolute directory path?
- References:
- getting absolute directory path?
- From: lawpoop
- Re: getting absolute directory path?
- From: C. (http://symcbean.blogspot.com/)
- Re: getting absolute directory path?
- From: lawpoop
- Re: getting absolute directory path?
- From: Peter H. Coffin
- getting absolute directory path?
- Prev by Date: Re: Seeing encrypted code in php
- Next by Date: Compression Functions
- Previous by thread: Re: getting absolute directory path?
- Next by thread: Re: getting absolute directory path?
- Index(es):
Relevant Pages
|