More changes!
This commit is contained in:
0
append_file.sh
Normal file → Executable file
0
append_file.sh
Normal file → Executable file
0
backup_file.sh
Normal file → Executable file
0
backup_file.sh
Normal file → Executable file
0
cluster_plan.sh
Normal file → Executable file
0
cluster_plan.sh
Normal file → Executable file
0
convert_file.sh
Normal file → Executable file
0
convert_file.sh
Normal file → Executable file
@@ -19,10 +19,6 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License
|
# 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/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
GopherDir="/ftp/pub/users/scm"
|
|
||||||
WebDir="/www/nz/s/scm"
|
|
||||||
WebTextDir="/www/nz/s/scm/text"
|
|
||||||
|
|
||||||
backup_file () {
|
backup_file () {
|
||||||
sh $HOME/website-to-other/backup_file.sh
|
sh $HOME/website-to-other/backup_file.sh
|
||||||
}
|
}
|
||||||
@@ -80,17 +76,14 @@ web_perms () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
gopher_perms () {
|
gopher_perms () {
|
||||||
# Set the correct Gopher and Gemini permissions
|
sh $HOME/website-to-other/gopher_perms.sh
|
||||||
chmod -R 754 $GopherDir
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gopher_repo () {
|
gopher_repo () {
|
||||||
# Copy the Gopher posts to the Gopher respository
|
sh $HOME/website-to-other/gopher_repo.sh
|
||||||
cp $GopherDir/posts $HOME/gophersite
|
|
||||||
}
|
}
|
||||||
|
|
||||||
clean_up () {
|
clean_up () {
|
||||||
# Unless the debug option is invoked, clean up unneeded files
|
|
||||||
sh $HOME/website-to-other/cleanup.sh
|
sh $HOME/website-to-other/cleanup.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
0
gemini_posts.sh
Normal file → Executable file
0
gemini_posts.sh
Normal file → Executable file
0
gopher_map.sh
Normal file → Executable file
0
gopher_map.sh
Normal file → Executable file
27
gopher_perm.sh
Normal file → Executable file
27
gopher_perm.sh
Normal file → Executable file
@@ -0,0 +1,27 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# gopher_perms.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/>.
|
||||||
|
|
||||||
|
GopherDir="/ftp/pub/users/scm"
|
||||||
|
|
||||||
|
# Set the correct Gopher and Gemini permissions
|
||||||
|
chmod -R 754 $GopherDir
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
0
gopher_posts.sh
Normal file → Executable file
0
gopher_posts.sh
Normal file → Executable file
27
gopher_repo.sh
Normal file → Executable file
27
gopher_repo.sh
Normal file → Executable file
@@ -0,0 +1,27 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# gopher_repo.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/>.
|
||||||
|
|
||||||
|
GopherDir="/ftp/pub/users/scm"
|
||||||
|
|
||||||
|
# Copy the Gopher posts to the Gopher respository
|
||||||
|
cp $GopherDir/posts $HOME/gophersite
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
0
insert_break.sh
Normal file → Executable file
0
insert_break.sh
Normal file → Executable file
0
meta_plan.sh
Normal file → Executable file
0
meta_plan.sh
Normal file → Executable file
0
remove_blank.sh
Normal file → Executable file
0
remove_blank.sh
Normal file → Executable file
0
remove_control.sh
Normal file → Executable file
0
remove_control.sh
Normal file → Executable file
0
remove_tabs.sh
Normal file → Executable file
0
remove_tabs.sh
Normal file → Executable file
0
web_perms.sh
Normal file → Executable file
0
web_perms.sh
Normal file → Executable file
0
write_header.sh
Normal file → Executable file
0
write_header.sh
Normal file → Executable file
Reference in New Issue
Block a user