Changeset a8b8d19


Ignore:
Timestamp:
08/22/2020 11:47:10 AM (4 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
56c1fff
Parents:
f7c6c3c
Message:

Use a custom date format in the filename of the chapter 5 tarball

The format of "date -Iseconds" generates character that are not accepted by
"cp". Use only letters, digits, and dash "-".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_save.sh

    rf7c6c3c ra8b8d19  
    3232    cat << EOF
    3333        @mkdir -p /tmp >>logs/\$@ 2>&1 && \\
    34         TARNAME=chapter5-\$\$(date -Iseconds).tar && \\
     34        TARNAME=chapter5-\$\$(date +%Y-%m-%d-T-%Hh%M).tar && \\
    3535        TMPFILE=\$\$(mktemp -p /tmp) && \\
    3636        TMPLOG=\$\$(mktemp -p /tmp) && \\
Note: See TracChangeset for help on using the changeset viewer.