From bbca1158b0b7aaca9eb821b85544f7ed632537bc Mon Sep 17 00:00:00 2001 From: Sledge Sulaweyo Date: Sun, 15 Jan 2017 06:19:20 +0100 Subject: [PATCH] Update README.md Add sample with backupsuffix --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 17fad60..d1b4dd0 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,12 @@ download {'download if not exists': force => false, dest => '/tmp/7z922.exe' } + +download { 'download a file and maintain backup of old version with .bak suffix': + uri => 'http://www.example.com/download/example.txt', + dest => '/tmp/example.txt', + backupsuffix => '.bak' +} download { 'download with basic auth and ssl, ssl forced': uri => 'http://host.com:8443/test.txt',