Page 1 of 1

unable to open a folder

Posted: Mon Nov 24, 2008 6:28 am
by khalidanwar123
I am unable to open a huge folder (in TB's). Is there any way to open it using shell commands ?
I hope i will get some help from here .

Thanks

Re: unable to open a folder

Posted: Mon Nov 24, 2008 8:37 am
by panic!
what do you mean by open?

Open in a GUI? List contents?


To list a directories contents in Unix-like systems (Mac OS X, Linux, BSD).


ls -l /path/to/folder

Re: unable to open a folder

Posted: Wed Dec 03, 2008 2:45 pm
by khalidanwar123
Is there any way in php to read a folder file names.
The folder size is huge in terabytes.

Re: unable to open a folder

Posted: Wed Dec 03, 2008 4:26 pm
by panic!

Code: Select all

 
<?
 
exec("ls /",$result);
 
 
foreach($result as $file)
{
    print "$file<br/>";
}
?>