better file listing for sub folders(and normal listing)

This commit is contained in:
Rusty Striker 2023-01-13 17:56:16 +02:00
parent c2e2aac13c
commit 4f54a8c602
Signed by: RustyStriker
GPG key ID: 87E4D691632DFF15
9 changed files with 45 additions and 29 deletions

View file

@ -7,11 +7,8 @@
<br>
or about stuff that happens to me
</p>
<p>
Stories:
<br>
<INJECT>cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py</INJECT>
</p>
<hr/>
<INJECT>python $HOME/bscripts/ls_table.py $CURRENT .html</INJECT>
</div>

View file

@ -1,8 +1,8 @@
<INJECT>cat $HOME/template/header.html | sed "s/__PAGE TITLE__/Injector/"</INJECT>
<p>
Folders: <INJECT>cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py</INJECT>
<br>
Files: <INJECT>cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py</INJECT>
Folders<br> <INJECT>cd $CURRENT && ls */ -d | sed 's/\///' | python3 $HOME/bscripts/ls_to_a.py</INJECT>
<br><br>
Files<br> <INJECT>cd $CURRENT && ls *.html | python3 $HOME/bscripts/ls_to_a.py</INJECT>
</p>
<h1>Injector</h1>