egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

filesys subfolders with ls command

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
Weirdo
Master


Joined: 27 Apr 2002
Posts: 265
Location: Manchester, England

PostPosted: Sat Aug 27, 2005 9:49 am    Post subject: filesys subfolders with ls command Reply with quote

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
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Aug 27, 2005 1:36 pm    Post subject: Reply with quote

hmm ls doesn't behave like that

can you post a log?
Back to top
View user's profile Send private message Visit poster's website
Weirdo
Master


Joined: 27 Apr 2002
Posts: 265
Location: Manchester, England

PostPosted: Sat Aug 27, 2005 1:43 pm    Post subject: Reply with quote

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 Very Happy


Sorry gents. Slight Q, does the filedb get updated on a daily basis only then?
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Aug 27, 2005 2:02 pm    Post subject: Reply with quote

nope, it gets updated on every file operation

what you have observed might be filesys.mod bug
Back to top
View user's profile Send private message Visit poster's website
Weirdo
Master


Joined: 27 Apr 2002
Posts: 265
Location: Manchester, England

PostPosted: Sat Aug 27, 2005 2:08 pm    Post subject: Reply with quote

Ah, bug?
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber