DiogenesList icon indicating copy to clipboard operation
DiogenesList copied to clipboard

Add support for hidden files

Open dukechain2333 opened this issue 2 years ago • 0 comments

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:

python diogeneslist.py /home/user filelist True

dukechain2333 avatar Jul 03 '23 02:07 dukechain2333