RenamePhotos 1.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global RenamePhotos --version 1.0.6                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local RenamePhotos --version 1.0.6                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=RenamePhotos&version=1.0.6                
nuke :add-package RenamePhotos --version 1.0.6                

Rename photos

Dotnet tool for renaming photos in date taken metadata style.

Install

dotnet tool install renamephotos -g

RenamePhotos

Usage

Use RenamePhotos command in folder with .jpg pictures.

Original: DSC106.jpg ⇒ New: 20200312_2345.jpg

How to create and publish NuGet package

This is mostly selfnote for me. Super quick guide how to work with nuget..

Create nuget package

  • change the package vesion inside .csproj: <PackageVersion>1.0.5</PackageVersion>
  • instal nuget with choco: choco install nuget.commandline
  • publish project dotnet publish -c release
    • there is <PackageOutputPath>./nupkg</PackageOutputPath> and <GeneratePackageOnBuild>true</GeneratePackageOnBuild> that will ensure package will be created in nupkg folder. In that case metadata.nuspec is not needed.

Publish

  • (easy way) Login to nuget.org and drag the package in there, or:

  • generate api key on nuget.org

  • store the api key: nuget setApiKey iamthesecretkey

  • push the package: nuget push .\nupkg\RenamePhotos.1.0.5.nupkg -Source https://api.nuget.org/v3/index.json

  • More info here

  • Properties for .nuspec file and their alternatives in .csproj.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.7 521 3/9/2022
1.0.6 391 11/3/2021
1.0.5 342 11/3/2021
1.0.4 522 5/25/2020
1.0.3 511 5/25/2020
1.0.2 525 5/25/2020
1.0.1 542 5/25/2020
1.0.0 553 5/25/2020