Correct date invocation

The correct syntax is `date +FORMAT`
This commit is contained in:
Carl Dong 2019-05-26 02:22:04 -04:00 committed by GitHub
parent 04bef18b0c
commit 4552bb45e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: