Todos Novo

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Entrar


Todos Novo Entrar

All gists matching topic marxdawn

Mais recente criado
Menos recente criado
Mais recente atualizado
Menos recente atualizado
santiago's Avatar

santiago / mxd_update_content.sh

0 curtidas
0 bifurcações
1 arquivos
Última atividade 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')
Próximo Anterior

Desenvolvido por Opengist ⋅ Load: 23ms⋅

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