Všechno Nové

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

Přihlásit se


Všechno Nové Přihlásit se

All gists matching topic marxdawn

Nedávno Vytvořeno
Nejméně nedávno Vytvořeno
Nedávno Aktualizováno
Nejméně nedávno Aktualizováno
santiago's Avatar

santiago / mxd_update_content.sh

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 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')
Novější Starší

Vytvořeno pomocí Opengist ⋅ Load: 25ms⋅

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