changed default filename
This commit is contained in:
parent
b7913bc624
commit
ddd879788d
|
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
display_help() {
|
display_help() {
|
||||||
(>&2 echo "Usage: $(basename "$0") [-hv] [-f outfile] filename")
|
(>&2 echo "Usage: $(basename "$0") [-hv] [-f outfile] filename")
|
||||||
(>&2 echo "UCF archive packer v1.0")
|
(>&2 echo "UCF tar packer")
|
||||||
(>&2 echo)
|
(>&2 echo)
|
||||||
(>&2 echo " filename path to arbitrary file with correct sequence number")
|
(>&2 echo " filename path to arbitrary file with correct sequence number")
|
||||||
(>&2 echo " -f, --file output file (default: archive_XXXX.ucf)")
|
(>&2 echo " -f, --file output file (default: snapshot_XXXX.ucf.tar)")
|
||||||
(>&2 echo " -h, --help display this help message")
|
(>&2 echo " -h, --help display this help message")
|
||||||
(>&2 echo " -v, --verbose verbose output")
|
(>&2 echo " -v, --verbose verbose output")
|
||||||
}
|
}
|
||||||
|
|
@ -59,7 +59,7 @@ fi
|
||||||
|
|
||||||
# Construct output filename if not specified
|
# Construct output filename if not specified
|
||||||
if [ -z "$fout" ]; then
|
if [ -z "$fout" ]; then
|
||||||
fout="archive${seqnum}.ucf"
|
fout="snapshot${seqnum}.ucf.tar"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Display verbose info
|
# Display verbose info
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue