Skip to content

Commit 8b504d4

Browse files
authored
Windows file names can not contain a colon
That would solve #131
1 parent 6feae65 commit 8b504d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/helpers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ _RESURRECT_DIR="$(resurrect_dir)"
112112

113113
resurrect_file_path() {
114114
if [ -z "$_RESURRECT_FILE_PATH" ]; then
115-
local timestamp="$(date +"%Y-%m-%dT%H:%M:%S")"
115+
local timestamp="$(date +"%Y-%m-%dT%H-%M-%S")"
116116
echo "$(resurrect_dir)/${RESURRECT_FILE_PREFIX}_${timestamp}.${RESURRECT_FILE_EXTENSION}"
117117
else
118118
echo "$_RESURRECT_FILE_PATH"

0 commit comments

Comments
 (0)