Re: getting absolute directory path?
- From: lawpoop@xxxxxxxxx
- Date: Tue, 29 Apr 2008 19:02:19 -0700 (PDT)
On Apr 29, 9:32 am, "Peter H. Coffin" <hell...@xxxxxxxxxxxxx> wrote:
Shell filename globbing frequently expands into a list of filenames that
are stored in the command buffer, which generally has SOME kind of a
cap. Mostly I've seen 32k, but that'll vary. If your list of filenames
expands out past the cap, you'll get an "Arguement list too long" error
and nothing will happen. find(1) works around that, but it allows
operations on files individually, not as aggregate.
OK, this is starting to make sense as a difficulty in management.
What, then, would be an appropriate directory structure? Start putting
files that being with 'a' under the a/ directory? How do you handle
linking in the website then?
If too many files for the command buffer is what's preventing me from
using a wildcard , then I could do the same results by doing something
like '$> command a*; command b*;' etc.
Or, do I create directories and organize them thematically, according
to the functions of the website, such as 'new_customer_signup'? What
happens when that directory gets too many files in it?
It seems to me, that if the website is has grown so much that there
are too many files in the root directory, so much so that you can't
properly run commands on it, that a website is not the right solution
for the problem. There's a flaw in the design somewhere, and the
number of files in the root directory is a symptom of it.
I'm willing to see the other side of this, but so far I can't think of
an instance where a file management task I'm doing on the command line
is going to be more cumbersome within a single directory than across
and into multiple subdirectories. Is wildcarding the only problem?
.
- Follow-Ups:
- Re: getting absolute directory path?
- From: Peter H. Coffin
- 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
- Re: getting absolute directory path?
- From: lawpoop
- Re: getting absolute directory path?
- From: Peter H. Coffin
- getting absolute directory path?
- Prev by Date: Re: Compression Functions
- Next by Date: Re: getting absolute directory path?
- Previous by thread: Re: getting absolute directory path?
- Next by thread: Re: getting absolute directory path?
- Index(es):