From 4552bb45e1710932d50aca620e78fb39996117ce Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Sun, 26 May 2019 02:22:04 -0400 Subject: [PATCH] Correct date invocation The correct syntax is `date +FORMAT` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 34c915c..e11be5a 100644 --- a/README.md +++ b/README.md @@ -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: