Crear un Index Of para publicarlo en GitHub Pages: ```bash mkdir mi_pagina cd mi_pagina tree -H '' -o index.html ``` Crear gallery index con este script bash, aunque no recomiendo **subir imágenes a github**: Guardás esto en `gallery-index.sh` y lo ejecutás sobre un directorio te generará un `index.html` ```bash #! /bin/sh echo "" > index.html echo "" >> index.html echo "" >> index.html echo "My file gallery" >> index.html echo "" >> index.html echo "" >> index.html echo "" >> index.html echo "

Subdirs

" >> index.html #link to subdirs for D in *; do if [ -d "${D}" ]; then echo "

$D

" >> index.html fi done echo "

Images

" >> index.html echo "
" >> index.html for img in *.jpg *.JPG *.png *.PNG *.bmp *.BMP *.jpeg *.JPEG *.gif *.GIF; do if [ ! -f "${img}" ]; then continue fi convert -auto-orient -scale 640 $img thumb-$img echo "
" >> index.html echo "
" >> index.html echo "" >> index.html echo "
" >> index.html echo "
" >> index.html echo "$img" >> index.html echo "
" >> index.html echo "
" >> index.html done echo "
" >> index.html echo "

Videos

" >> index.html echo "
" >> index.html for video in *.mp4 *.MP4 *.ogg *.OGG *.avi *.AVI *.mkv *.MKV *.mpeg *.MPEG; do if [ ! -f "${video}" ]; then continue fi echo "
" >> index.html echo "
" >> index.html echo "" >> index.html echo "
" >> index.html echo "
" >> index.html echo "$video" >> index.html echo "
" >> index.html echo "
" >> index.html done echo "
" >> index.html echo "" >>index.html echo "" >>index.html ```