GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   ::Help:: Is there any script/program that will ... (https://gfy.com/showthread.php?t=366381)

Trixxxia 10-03-2004 08:28 PM

::Help:: Is there any script/program that will ...
 
Any program that will make a list of every file on your server & perhaps save it locally as a txt file?

Intrigue 10-03-2004 08:30 PM

I Could hook something up for you. Hit me up 297994306

European Lee 10-03-2004 08:30 PM

Patricia..

Try this...

PHP Code:

<?php 

// PRINT DOMAINS 

$dirhandleopendir("/www/virtual/gamedia/html"); 
$number_of_links 0
while(
$filename readdir($dirhandle)) { 
if (
$filename != ".") { 
if (
$filename != "..") { 

$filenames[]=$filename





closedir($dirhandle); 

sort($filenames); 

for(
$i=0$i count($filenames); $i++) { 
print(
"<FONT FACE=\"Arial, Helvetica\" SIZE=2>$filenames[$i]</FONT><BR>"); 


?>

Cut n paste that into notepad, save it as domains.php or whatever, upload to a domain and call it from the web :thumbsup

Regards,

Lee

swedguy 10-03-2004 08:50 PM

Or you can SSH to your server and type this:

find /folder/to/start/in -print > list.txt

list.txt will contain a nice formatted list with every file from /folder/to/start/in (change it to where you want to start) and up.

Trixxxia 10-03-2004 09:20 PM

Quote:

Originally posted by swedguy
Or you can SSH to your server and type this:

find /folder/to/start/in -print > list.txt

list.txt will contain a nice formatted list with every file from /folder/to/start/in (change it to where you want to start) and up.

Thanks swedguy ;)


All times are GMT -7. The time now is 02:29 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123