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
unable to open a folder
Moderator: General Moderators
Re: unable to open a folder
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
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
-
khalidanwar123
- Forum Newbie
- Posts: 8
- Joined: Sun Nov 23, 2008 5:34 am
Re: unable to open a folder
Is there any way in php to read a folder file names.
The folder size is huge in terabytes.
The folder size is huge in terabytes.
Re: unable to open a folder
Code: Select all
<?
exec("ls /",$result);
foreach($result as $file)
{
print "$file<br/>";
}
?>