From 5c40ee47dc1ff2c51a1933cb9431e5d6a94ff556 Mon Sep 17 00:00:00 2001 From: pulpul-s Date: Tue, 4 Jun 2024 10:53:02 +0300 Subject: [PATCH] add format to the end of both volume copies rather than in between --- cameracopy.json | 4 ++- cameracopy.ps1 | 68 ++++++++++++++++++++++++++++++------------------- 2 files changed, 45 insertions(+), 27 deletions(-) diff --git a/cameracopy.json b/cameracopy.json index fb3cd1b..6ea6bc5 100644 --- a/cameracopy.json +++ b/cameracopy.json @@ -11,7 +11,9 @@ "MEDIAPRO.XML" ], "includeddevices": [ - "Sony" + "Sony", + "Data", + "Generic" ], "folderprefix": "prefix_", "datetimestring": "yyyy-MM-dd", diff --git a/cameracopy.ps1 b/cameracopy.ps1 index 6172d3c..d3cc8e1 100644 --- a/cameracopy.ps1 +++ b/cameracopy.ps1 @@ -1,5 +1,5 @@ # https://github.com/pulpul-s/CameraCopy -$version = "1.5.0" +$version = "1.5.1" Add-Type -AssemblyName System.Windows.Forms Add-Type -AssemblyName System.Drawing @@ -173,8 +173,8 @@ function CopyFiles { $xmlContent = Get-Content $xmlFile $creationDateLine = $xmlContent | Where-Object { $_ -match '