| View previous topic :: View next topic |
| Author |
Message |
Weirdo Master
Joined: 27 Apr 2002 Posts: 265 Location: Manchester, England
|
Posted: Sat Aug 27, 2005 9:49 am Post subject: filesys subfolders with ls command |
|
|
I just made a nice php gallery on my shell, which runs from my eggdrop's filesys folder. Done this essentially to allow users to upload, and download images, bypassing the java scripts and the restrictions on my http bandwidth.
So, i go into the filesys controls, do "ls" and i am rewarded by the complete listing of every file there.
Problem is that the root fo the folder has 10 files, and half a dozen subfolders. The ls command showed every file, in every folder, with no indication where it came from.
Being used to the "dir" command, and with full knowledge that "ls" doesnt normally do that, i am uncertain why this is happening, or how i can fix it?
Is there a way of making the "ls" command only return what is in the current folder and list the subfolders like the same command does on my shell?
Thanks, |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Aug 27, 2005 1:36 pm Post subject: |
|
|
hmm ls doesn't behave like that
can you post a log? |
|
| Back to top |
|
 |
Weirdo Master
Joined: 27 Apr 2002 Posts: 265 Location: Manchester, England
|
Posted: Sat Aug 27, 2005 1:43 pm Post subject: |
|
|
| demond wrote: | hmm ls doesn't behave like that
can you post a log? |
Will do...
Edit: Ok, interesting. A restart and the deletion of the filedb file, seems to have fixed it. Due to me deleting 800 or so files and then adding 2500 more. When i saw this problem this morning, i nuked the filedb, and its remade now, 5x the size, and, mm, seems to be fine.
Go figure. I much prefer having only 49 files instead of 2500
Sorry gents. Slight Q, does the filedb get updated on a daily basis only then? |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Aug 27, 2005 2:02 pm Post subject: |
|
|
nope, it gets updated on every file operation
what you have observed might be filesys.mod bug |
|
| Back to top |
|
 |
Weirdo Master
Joined: 27 Apr 2002 Posts: 265 Location: Manchester, England
|
Posted: Sat Aug 27, 2005 2:08 pm Post subject: |
|
|
| Ah, bug? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|