108 lines
2.1 KiB
Bash
Executable File
108 lines
2.1 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# convert_website.sh
|
|
# This script is part of the website-to-other project, which converts my
|
|
# website to other formats.
|
|
|
|
# Copyright (c) 2024, 2025, Scott C. MacCallum (scm@sdf.org).
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Affero General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# at your option) any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Affero General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
backup_file () {
|
|
sh $HOME/website-to-other/backup_file.sh
|
|
}
|
|
|
|
insert_break () {
|
|
sh $HOME/website-to-other/insert_break.sh
|
|
}
|
|
|
|
convert_file () {
|
|
sh $HOME/website-to-other/convert_file.sh
|
|
}
|
|
|
|
remove_control () {
|
|
sh $HOME/website-to-other/remove_control.sh
|
|
}
|
|
|
|
remove_blank () {
|
|
sh $HOME/website-to-other/remove_blank.sh
|
|
}
|
|
|
|
write_header () {
|
|
sh $HOME/website-to-other/write_header.sh
|
|
}
|
|
|
|
append_file () {
|
|
sh $HOME/website-to-other/append_file.sh
|
|
}
|
|
|
|
remove_tabs () {
|
|
sh $HOME/website-to-other/remove_tabs.sh
|
|
}
|
|
|
|
gopher_posts () {
|
|
sh $HOME/website-to-other/gopher_posts.sh
|
|
}
|
|
|
|
gopher_map () {
|
|
sh $HOME/website-to-other/gopher_map.sh
|
|
}
|
|
|
|
gemini_post () {
|
|
sh $HOME/website-to-other/gemini_post.sh
|
|
}
|
|
|
|
cluster_plan () {
|
|
sh $HOME/website-to-other/cluster_plan.sh
|
|
}
|
|
|
|
meta_plan () {
|
|
sh $HOME/website-to-other/meta_plan.sh
|
|
}
|
|
|
|
web_perms () {
|
|
sh $HOME/website-to-other/web_perms.sh
|
|
}
|
|
|
|
gopher_perms () {
|
|
sh $HOME/website-to-other/gopher_perms.sh
|
|
}
|
|
|
|
gopher_repo () {
|
|
sh $HOME/website-to-other/gopher_repo.sh
|
|
}
|
|
|
|
clean_up () {
|
|
sh $HOME/website-to-other/clean_up.sh
|
|
}
|
|
|
|
backup_file
|
|
convert_file
|
|
remove_control
|
|
remove_blank
|
|
append_file
|
|
remove_tabs
|
|
gopher_posts
|
|
gopher_map
|
|
gemini_posts
|
|
cluster_plan
|
|
meta_plan
|
|
web_perms
|
|
gopher_perms
|
|
gopher_repo
|
|
clean_up
|
|
|
|
exit 0
|
|
|