Alle Neu

user:thomas Gists erstellt von Nutzer

title:mygist Gists mit Titel

filename:myfile.txt Gists mit Dateinamen

extension:yml Gists mit Dateiendung

language:go Gists in Sprache

topic:homelab gists with given topic

Anmelden


Alle Neu Anmelden

All gists matching topic marxdawn

Neueste erstellt
Älteste erstellt
Neueste bearbeitet
Älteste bearbeitet
santiago's Avatar

santiago / mxd_update_content.sh

0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv 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')
Neuer Älter

Powered by Opengist ⋅ Load: 24ms⋅

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