mirror of
https://github.com/restic/restic.git
synced 2024-08-22 04:13:23 +02:00
7 lines
113 B
Bash
Executable File
7 lines
113 B
Bash
Executable File
#!/bin/bash
|
|
|
|
today=$(date +%Y%m%d)
|
|
|
|
sed -i -r -e 's/const Repo = "([0-9]{8})"/const Repo = "'$today'"/' $GOFILE
|
|
|