The program is now set to hide the hidden files by default. With an additional boolean argument, hidden files will appear in the index again.
Usage
The program only takes two arguments by default (the program will ignore those hidden files, which start with a . in Linux file system), the directory to be indexed and the output file name without the extension, so:
python diogeneslist.py /home/user filelist
Will index the contents of /home/user and save them to filelist.html on the current directory. Simple as that
if you want to show the hidden files in the index, you can use the following command:
The program is now set to hide the hidden files by default. With an additional boolean argument, hidden files will appear in the index again.
Usage
The program only takes two arguments by default (the program will ignore those hidden files, which start with a
.
in Linux file system), the directory to be indexed and the output file name without the extension, so:Will index the contents of /home/user and save them to filelist.html on the current directory. Simple as that
if you want to show the hidden files in the index, you can use the following command: