From 8f73d79b9420a6263e67dade2ea9747baaa6e04f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 28 Jun 2016 18:29:44 +0200 Subject: proper argument for human readable time --- hel/recv-media.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hel/recv-media.nix b/hel/recv-media.nix index ef63d7ed..d4099a66 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix @@ -10,5 +10,5 @@ writeScriptBin "recv-media" '' dir=/var/media cp -ln "$1" "''${dir}/$(basename "$1")" - [[ -n "$2"]] && touch -c -t "$2" "''${dir}/$(basename "$1")" + [[ -n "$2"]] && touch -c -d "$2" "''${dir}/$(basename "$1")" '' -- cgit v1.2.3