From 2b427010fe51a33eaaf10faec8bcf6527b935be2 Mon Sep 17 00:00:00 2001 From: first Date: Fri, 24 Jan 2025 07:41:30 +0000 Subject: [PATCH 1/4] improve init desc --- README.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5b0ee7d..b2fea01 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ # backup2mdisc +**Now you can enjoy **self-contained** backup on each disc without chain-dependency across your entire multi TB backup set!**: +- **Independently decryptable** (and restorable) archives on each M-Disc. +- Automatic ISO creation and optional disc burning in the same script. +- **Fast compression via lz4**. + +--- + ## Purpose: 1. Scans all files in a source directory. 2. Groups them into "chunks" so that each chunk is <= a specified size (default 100GB). @@ -97,13 +104,4 @@ 4. **Cross-Platform** - On FreeBSD or macOS, you might need to tweak the commands for hashing (`sha256sum` vs. `shasum -a 256`) or ISO creation (`mkisofs` vs. `genisoimage`). - - For burning, Linux uses `growisofs`, macOS uses `hdiutil`, and FreeBSD may require `cdrecord` or another tool. - ---- - -**Now you can enjoy the best of both worlds**: -- **Independently decryptable** (and restorable) archives on each M-Disc. -- Automatic ISO creation and optional disc burning in the same script. -- Fast compression via lz4. - -This gives you a **self-contained** backup on each disc without chain-dependency across your entire 2TB backup set! \ No newline at end of file + - For burning, Linux uses `growisofs`, macOS uses `hdiutil`, and FreeBSD may require `cdrecord` or another tool. \ No newline at end of file From c3e8da47fa9a56e3549304268785ddd0365ae4a4 Mon Sep 17 00:00:00 2001 From: first Date: Fri, 24 Jan 2025 07:42:13 +0000 Subject: [PATCH 2/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b2fea01..78bafaa 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # backup2mdisc -**Now you can enjoy **self-contained** backup on each disc without chain-dependency across your entire multi TB backup set!**: +**Now you can enjoy a _self-contained_ backup on each disc without chain-dependency across your entire multi TB backup set!**: - **Independently decryptable** (and restorable) archives on each M-Disc. - Automatic ISO creation and optional disc burning in the same script. - **Fast compression via lz4**. From 772feb82861c519990bc77ad85c7a91aa6b9cb45 Mon Sep 17 00:00:00 2001 From: first Date: Sat, 25 Jan 2025 16:55:56 +0000 Subject: [PATCH 3/4] enhance code blocks --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 78bafaa..78d563d 100644 --- a/README.md +++ b/README.md @@ -52,11 +52,17 @@ --- ## Usage: -`./backup_in_individual_chunks.sh /path/to/source /path/to/destination [CHUNK_SIZE] [--create-iso] [--burn]` +``` +./backup_in_individual_chunks.sh /path/to/source /path/to/destination [CHUNK_SIZE] [--create-iso] [--burn] +``` ## Examples: -`./backup_in_individual_chunks.sh /home/user/data /mnt/backup 100G --create-iso` -`./backup_in_individual_chunks.sh /data /backup 50G --burn` +```bash +./backup_in_individual_chunks.sh /home/user/data /mnt/backup 100G --create-iso +``` +```bash +./backup_in_individual_chunks.sh /data /backup 50G --burn +``` ## Dependencies: - `bash` From 2fcac583dd5852ac19dfd76b4fe5a840e4aa8646 Mon Sep 17 00:00:00 2001 From: first Date: Sat, 25 Jan 2025 16:57:10 +0000 Subject: [PATCH 4/4] update script name --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 78d563d..8c511a1 100644 --- a/README.md +++ b/README.md @@ -53,15 +53,15 @@ ## Usage: ``` -./backup_in_individual_chunks.sh /path/to/source /path/to/destination [CHUNK_SIZE] [--create-iso] [--burn] +./backup2mdisc.sh /path/to/source /path/to/destination [CHUNK_SIZE] [--create-iso] [--burn] ``` ## Examples: ```bash -./backup_in_individual_chunks.sh /home/user/data /mnt/backup 100G --create-iso +./backup2mdisc.sh /home/user/data /mnt/backup 100G --create-iso ``` ```bash -./backup_in_individual_chunks.sh /data /backup 50G --burn +./backup2mdisc.sh /data /backup 50G --burn ``` ## Dependencies: