Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

Iniciar sesión


Todos Nuevo Iniciar sesión

All gists matching topic marxdawn

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
santiago's Avatar

santiago / mxd_update_content.sh

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1747055618
marxdawn: create zip of the contents of a picoCMS blog (only .md or .adoc)
bash marxdawn
1 #!/bin/bash
2
3 BASEDIR=/var/www/www.lema.org
4
5 cd $BASEDIR
6
7 # Recreate the zip file with only .md and .adoc files, preserving subfolders
8 # but not the "content/" folder
9 (cd content && zip -r ../mxd_content.zip . -i '*.md' '*.gmi' '*.adoc')
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 25ms⋅

Español
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文