diff --git a/bin/cleanup.sh b/bin/cleanup.sh
index e031212..7946d61 100755
--- a/bin/cleanup.sh
+++ b/bin/cleanup.sh
@@ -1,5 +1,21 @@
#! /bin/bash
#
+# Copyright (C) 2024 Per Jensen
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+
+
# This script deletes the following
# - DIFF archives + par2 files older than DIFF_AGE
# - INC archives + par2 files older than INC_AGE
diff --git a/bin/dar-backup.sh b/bin/dar-backup.sh
index 607a6fc..c833d58 100755
--- a/bin/dar-backup.sh
+++ b/bin/dar-backup.sh
@@ -1,4 +1,20 @@
#! /bin/bash
+#
+# Copyright (C) 2024 Per Jensen
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
# Run script as a non-root user if sshfs mounts are used
#
# Will do full backups if called as "dar-backup.sh"
@@ -74,9 +90,10 @@ while [ -n "$1" ]; do
;;
--version|-v)
echo "$SCRIPTNAME $VERSION"
- echo "Licensed under GNU GENERAL PUBLIC LICENSE v3, see \"LICENSE\" file for details"
+ echo "Licensed under GNU GENERAL PUBLIC LICENSE v3, see the supplied file \"LICENSE\" for details."
echo "THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW, see section 15 and section 16 in the \"LICENSE\" file"
+APPLICABLE LAW, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ echo "See section 15 and section 16 in the supplied \"LICENSE\" file."
exit
;;
*)
diff --git a/bin/dar-util.sh b/bin/dar-util.sh
index 4b49762..0ba914f 100755
--- a/bin/dar-util.sh
+++ b/bin/dar-util.sh
@@ -1,6 +1,20 @@
#! /bin/bash
-
-
+#
+# Copyright (C) 2024 Per Jensen
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
# mount a server dir using sshfs, as sshfs is a FUSE solution, root or
# programs running in the root context cannot access the server
#
diff --git a/bin/install.sh b/bin/install.sh
index 17c0abe..a986aa0 100755
--- a/bin/install.sh
+++ b/bin/install.sh
@@ -1,5 +1,20 @@
#! /bin/bash
-
+#
+# Copyright (C) 2024 Per Jensen
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
# set correct dir paths in config files
# make the backup executable
# create the softlink for the "diff" version
diff --git a/bin/ls-archives.sh b/bin/ls-archives.sh
index cfea732..2e5b6ce 100755
--- a/bin/ls-archives.sh
+++ b/bin/ls-archives.sh
@@ -1,4 +1,20 @@
#! /bin/bash
+#
+# Copyright (C) 2024 Per Jensen
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
SCRIPTPATH=$(realpath "$0")
SCRIPTDIRPATH=$(dirname "$SCRIPTPATH")
diff --git a/bin/manager.sh b/bin/manager.sh
index 3c7593f..9a30247 100755
--- a/bin/manager.sh
+++ b/bin/manager.sh
@@ -1,5 +1,21 @@
#! /bin/bash
#
+# Copyright (C) 2024 Per Jensen
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+#
# This script creates/maintains the dar catalogs from existing dar archives for backup definitions.
#
diff --git a/bin/par2.sh b/bin/par2.sh
index 5ecde8a..6356b4b 100755
--- a/bin/par2.sh
+++ b/bin/par2.sh
@@ -1,5 +1,20 @@
#! /bin/bash
-
+#
+# Copyright (C) 2024 Per Jensen
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
# Generate par2 repair files of .dar files
#
#
diff --git a/bin/send-msg.sh b/bin/send-msg.sh
index c3867f3..36d8471 100644
--- a/bin/send-msg.sh
+++ b/bin/send-msg.sh
@@ -1,5 +1,20 @@
#! /bin/bash
-
+#
+# Copyright (C) 2024 Per Jensen
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
# $1: the msg to send to Discord
diff --git a/bin/show-DIFF.sh b/bin/show-DIFF.sh
index 0a7aceb..c4a026b 100755
--- a/bin/show-DIFF.sh
+++ b/bin/show-DIFF.sh
@@ -1,4 +1,20 @@
#! /bin/bash
+#
+# Copyright (C) 2024 Per Jensen
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
# print DIFF archives including number of slices and the slice size
export DATE=`date -I`
diff --git a/bin/show-FULL.sh b/bin/show-FULL.sh
index ad4faf9..56a1d47 100755
--- a/bin/show-FULL.sh
+++ b/bin/show-FULL.sh
@@ -1,4 +1,20 @@
#! /bin/bash
+#
+# Copyright (C) 2024 Per Jensen
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
# print FULL archives including number of slices and the slice size
export DATE=`date -I`