Correct date invocation
The correct syntax is `date +FORMAT`
This commit is contained in:
parent
04bef18b0c
commit
4552bb45e1
|
@ -826,7 +826,7 @@ $ sudo mkdir /mnt/public
|
||||||
|
|
||||||
$ sudo mount /dev/sdb2 /mnt/public/
|
$ sudo mount /dev/sdb2 /mnt/public/
|
||||||
|
|
||||||
$ gpg --armor --export $KEYID | sudo tee /mnt/public/$KEYID-$(date %+F).txt
|
$ gpg --armor --export $KEYID | sudo tee /mnt/public/$KEYID-$(date +%F).txt
|
||||||
```
|
```
|
||||||
|
|
||||||
Windows:
|
Windows:
|
||||||
|
|
Loading…
Reference in New Issue