2012年11月20日 — <? //delete all files from folder & sub folders function listFolderFiles($dir) { $ffs = scandir($dir); echo '<ol>'; foreach ($ffs as $ff) { if ( ... ... <看更多>
I use this command to delete all (including hidden) except selected files/folders in the CURRENT directory. find . -maxdepth 1 ! -name "file1.php" ! ... <看更多>