All New

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

Login


All New Login

All gists matching topic marxdawn

Recently created
Least recently created
Recently updated
Least recently updated
santiago's Avatar

santiago / mxd_update_content.sh

0 likes
0 forks
1 files
Last active 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')
Newer Older

Powered by Opengist ⋅ Load: 26ms⋅

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