Add check-incs.sh to verify incs #14

Merged
jlecour merged 1 commit from check-incs into master 2019-04-25 11:43:04 +02:00
Owner
No description provided.
benpro reviewed 2019-04-01 11:35:52 +02:00
@ -0,0 +15,4 @@
ls -d /backup/incs/$1 > /dev/null 2>&1
}
jail_exists() {
ls -d /backup/jails/$1 > /dev/null 2>&1
Contributor

Why not test -d? Oo

Why not `test -d`? Oo
Author
Owner

To be consistent with inc_exists where we need to support globbing.

To be consistent with `inc_exists` where we need to support globbing.
Contributor

OK. Or, you could loop in place of using inc_exists ${jail_name}/${inc_date}*;.

OK. Or, you could loop in place of using `inc_exists ${jail_name}/${inc_date}*;`.
Author
Owner

I don't understand what you mean.
If you think it's worth investigating, maybe you could post a complete example, to show what is better in the context.

I don't understand what you mean. If you think it's worth investigating, maybe you could post a complete example, to show what is better in the context.
Contributor

See: #18.

See: #18.
jlecour closed this pull request 2019-04-25 11:43:04 +02:00
jlecour deleted branch check-incs 2019-04-25 11:43:27 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: evolix/evobackup#14
No description provided.