1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-26 07:57:05 +00:00
mailinabox/tools/archive_conf_files.sh

11 lines
416 B
Bash
Raw Normal View History

2023-12-21 15:30:31 +00:00
#!/bin/bash
# Use this script to make an archive of the contents of all
# of the configuration files we edit with editconf.py.
for fn in $(grep -hr editconf.py setup | sed "s/tools\/editconf.py //" | sed "s/ .*//" | sort | uniq); do
echo ======================================================================
echo "$fn"
echo ======================================================================
cat "$fn"
done