Compare commits

...

5 Commits

Author SHA1 Message Date
6a60d454d6 README.md 2024-12-16 21:22:08 +01:00
446ac8d5ec Set language index script 2024-12-16 21:21:57 +01:00
7d5880e8f0 Main script for create index files 2024-12-16 21:21:45 +01:00
13b04f8a6f Index scripts 2024-12-16 21:21:24 +01:00
5e129ba9ca Clean index files 2024-12-16 21:21:07 +01:00
6 changed files with 36 additions and 5 deletions

View File

@ -1,4 +1,4 @@
files-html - Cool indexer html for Apache/Nginx with Bootstrap
files-html - Cool HTML Indexer for Apache/Nginx with Bootstrap
==============================================================
### Installation:

View File

@ -1,5 +1,12 @@
#!/bin/bash
##################################################################
# files-html - Cool HTML Indexer for Apache/Nginx with Bootstrap #
# Date: 16-12-2023 #
# Author: q3aql #
# Contact: q3aql@duck.com #
##################################################################
# Variables
find_list="/tmp/find_list"
files_list="/tmp/files_list"
@ -38,7 +45,6 @@ else
cd ${path_gen}
countf=$(expr ${countf} + 1)
done
#rm -rf ${find_list}
else
echo "# Folder '${1}' not found"
fi

View File

@ -1,5 +1,12 @@
#!/bin/bash
##################################################################
# files-html - Cool HTML Indexer for Apache/Nginx with Bootstrap #
# Date: 16-12-2023 #
# Author: q3aql #
# Contact: q3aql@duck.com #
##################################################################
# Variables
find_list="/tmp/find_list"
files_list="/tmp/files_list"
@ -36,8 +43,6 @@ else
cp -rf ${path_gen}/res ${find_read}/.res 2> /dev/null
cp -rf ${path_gen}/index.sh ${find_read}/.index.sh 2> /dev/null
cp -rf ${path_gen}/.index.sh ${find_read}/.index.sh 2> /dev/null
#cp -rf ${path_gen}/index-recursive.sh ${find_read}/.index-recursive.sh 2> /dev/null
#cp -rf ${path_gen}/.index-recursive.sh ${find_read}/.index-recursive.sh 2> /dev/null
if [ ! -z "${find_read}" ] ; then
echo "# Generating index files for ${find_read}"
fi
@ -47,7 +52,6 @@ else
cd ${path_gen}
countf=$(expr ${countf} + 1)
done
#rm -rf ${find_list}
else
echo "# Folder '${1}' not found"
fi

View File

@ -1,5 +1,12 @@
#!/bin/bash
##################################################################
# files-html - Cool HTML Indexer for Apache/Nginx with Bootstrap #
# Date: 16-12-2023 #
# Author: q3aql #
# Contact: q3aql@duck.com #
##################################################################
# Variables
find_list="/tmp/find_list"
files_list="/tmp/files_list"

View File

@ -1,5 +1,12 @@
#!/bin/bash
##################################################################
# files-html - Cool HTML Indexer for Apache/Nginx with Bootstrap #
# Date: 16-12-2023 #
# Author: q3aql #
# Contact: q3aql@duck.com #
##################################################################
dir=$(dirname $0)
dir_files="$(dirname $0)/files"

View File

@ -1,5 +1,12 @@
#!/bin/bash
##################################################################
# files-html - Cool HTML Indexer for Apache/Nginx with Bootstrap #
# Date: 16-12-2023 #
# Author: q3aql #
# Contact: q3aql@duck.com #
##################################################################
dir=$(dirname $0)
lang_dir="$(dirname $0)/lang"