Correct date invocation

The correct syntax is `date +FORMAT`
pull/109/head
Carl Dong 5 years ago committed by GitHub
parent 04bef18b0c
commit 4552bb45e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -826,7 +826,7 @@ $ sudo mkdir /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:

Loading…
Cancel
Save