We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abb4620 commit 40ba290Copy full SHA for 40ba290
public_html/filesList.php
@@ -0,0 +1,27 @@
1
+<?php
2
+
3
+// Const
4
+$gitPathPre = "https://github.com/greenido/AppsScriptBests/tree/master/public_html/AppsScript";
5
+$fullList = array();
6
+$mdFileName = "ListOfScripts.md";
7
8
+//
9
+// Start the party
10
11
+$path = 'AppsScript';
12
+exec("find . -follow", $files);
13
+print_r($files);
14
15
+foreach ($files as $name) {
16
+ if (strpos($name, "AppsScript/" ) > 0) {
17
+ if ( !strpos($name, ".DS_Store") ) {
18
+ $name = str_replace("./AppsScript/", "", $name);
19
+ $fName = "* [$name](" . $gitPathPre . "/" . $name . ")\n";
20
+ array_push($fullList, $fName );
21
+ file_put_contents($mdFileName, $fName, FILE_APPEND);
22
+ }
23
24
+}
25
+echo "\n\n=== list of files: \n";
26
+print_r($fullList);
27
0 commit comments