santiago / mxd_update_content.sh
0 j'aimes
0 forks
1 fichiers
Dernière activité
| 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') |
Plus récent
Plus ancien