9ea7e38759
sync.sh: cosmetic changes after first tests...
2022-05-10 14:14:01 +02:00
fec8a1e844
sync.sh: phase 1 of full rewrite (functions, etc...)
...
Important changes:
- RSYNCOPTS must be an array, not a string.
- log() is now using printf-style:
Unchanged:
- log "a b c"
Incorrect (old syntax):
- log a b c
Correct (new syntax):
- log "%s %s %s" "a" "b "c"
- log "%s" "a b c"
2022-05-09 17:23:53 +02:00
f8c150f2a3
dup-live-disk: fix mismatched quotes help text
2022-05-08 13:16:57 +02:00
b040a772e7
dup-live-disk: Typo in 'man' text which gives an error at EOF
2022-05-07 20:23:21 +02:00
3387c26a22
dup-live-disk: typo when asking to install grub
2022-05-07 20:12:59 +02:00
6dbcf82f0b
sync.sh: -a option parameters do not use comma as separator
2022-04-30 14:30:19 +02:00
a08903e55e
sync.sh: RSYNCOPTS is now an array
2022-04-27 21:53:58 +02:00
92d1be28af
sync.sh: replace -dwmy with -ad,w,m,y (INVOCATION CHANGE !)
2022-04-27 20:45:43 +02:00
6cea21099d
BUG fix: type -P instead of type -p to check command is in PATH
2022-04-26 16:10:09 +02:00
f623bfe80c
use gzip by default if available. Fix sendmail To: envelope
2022-04-25 14:52:00 +02:00
159e70d654
sync.sh: use gzip by default if available. Fix sendmail To: envelope
2022-04-25 14:04:41 +02:00
5a93fe6b47
sync.sh: Minor changes
2022-04-24 21:07:18 +02:00
3699e9f9eb
sync.sh: remove uuidgen dependancy (static MIME string)
2022-04-23 13:37:55 +02:00
1b818570c2
sync.sh: Use sendmail to send email.
2022-04-22 14:04:47 +02:00
1f6a506af4
sync.sh: new option to gzip mail attachment
2022-04-22 10:39:17 +02:00
38dd2d87ed
switch from uuencode to base64
2022-04-22 10:05:43 +02:00
bda790702f
sync.sh: minor logging changes
2022-04-21 20:34:37 +02:00
93f7075275
Shellcheck compliance
2022-04-21 16:39:13 +02:00
546d4afeaf
typo
2022-04-21 16:23:09 +02:00
f8dc759b6a
sync.sh: mail output is sent as attachment
2022-04-21 16:20:25 +02:00
045787a135
remove redundant _printf declaration
2022-04-21 16:18:17 +02:00
7071dc5725
rwonce.h: indent; bits.h: remove useless convenience signed types
2022-03-18 18:46:10 +01:00
52cf521da4
add READ_ONCE() and WRITE_ONCE()
2022-03-18 16:53:43 +01:00
1b648d6db2
bits.h: added convenience types
2022-03-18 14:23:49 +01:00
b5aa787fb4
add rwonce.h
2022-03-18 13:43:34 +01:00
a248db691c
dup-live-disk.sh: hack for failed umount
2022-03-10 08:04:34 +01:00
eae78e0422
add some autofs configuration hints
2022-03-08 13:35:02 +01:00
22185486b6
Change license to GPL 3.0 or later
2022-03-08 12:29:55 +01:00
98a6d550a8
typo
2022-03-08 12:02:27 +01:00
504f8546d0
dup-live.sh: added --man examples
2022-03-08 12:00:57 +01:00
2aadd7bc51
dup-live-disk.sh: change some messages, echorun() -> echorun_maybe()
2022-03-08 11:46:40 +01:00
78dc9f765f
fix for yesno() function
2022-03-08 09:39:36 +01:00
55f93efa75
typos
2022-03-07 20:45:23 +01:00
9b9e22c426
dup-disk.sh: add actions (--yes, --no, --grub, --copy, --fstab, ...)
2022-03-07 20:14:08 +01:00
ab789d8ba7
add #error for wordsize != 64
2022-02-07 18:20:32 +01:00
294e6dbbcb
bugfix bit_for_each64_2
2022-01-29 15:48:42 +01:00
f8a13b807e
debug.h: add __attribute__ to debug(), for printf() args style
2022-01-16 21:22:10 +01:00
76a6a81d69
pool_create: do not fail if structure is too small to handle list pointers
2022-01-16 21:10:41 +01:00
78d76a1add
list.h: updated from advent of code repo
2022-01-16 21:02:16 +01:00
14f4304b94
add debug, bits, and pool
2021-12-20 15:16:16 +01:00
2ec32cbecf
revert from C99 to kernel-style
2021-09-05 21:43:14 +02:00
443e3e3702
Merge branch 'dev'
2021-09-04 17:52:26 +02:00
0e60df0cfd
typo
2021-09-04 17:48:10 +02:00
062b2822dc
list.h
2021-09-04 17:47:33 +02:00
7c23bd43b7
Merge branch 'dev'
2021-04-30 15:55:03 +02:00
8879fe1812
check that SRC drive contains all fstabs. Fix DST after disk sync.
2021-04-30 15:50:09 +02:00
a773e61b56
Merge branch 'dev'
2021-04-30 14:29:01 +02:00
ec99a02d4f
rewrite sed script to avoid unnecessary pipe in '--man' option
2021-04-30 11:58:41 +02:00
6aa4b2cf97
Add autofs option (aumount directory)
2021-04-29 12:20:35 +02:00
edbdab3a20
better dry-run handling, separate "--copy" option.
2021-04-28 14:55:50 +02:00