Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

Rename Master

3.13

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 6/20/2018.

Rename Master is a freeware utility designed to rename multiple files with a just few clicks. Anyone that has worked with websites, file archives, or collections of music, videos, or pictures has probably spent way too much time renaming hundreds of files. This utility will add, remove, or replace parts of the filename with ease and also supports renaming via file properties, MP3 tags, JPEG JFIF and EXIF tags, Video tags, and text files. Batch renaming that's simple to use, yet still very powerful.

Features

  • Intelligent number sorting
  • Full Unicode filename support
  • File and folder renaming
  • Custom filelist columns
  • Auto-Preview
  • Subfolder Scanning to rename files in multiple folder
  • Renaming Variables for JPEG/MP3/Video tags, file properties, counters, and more
  • Scripts to save commonly used renaming options
  • [*] and [?] command prompt style wildcards, or full Regular Expression support
  • Optional Explorer integration for right-clicking on files/folders or using "Send To"
  • Case Changing and Textfile importing
  • Command line options for batch renaming

To install Rename Master, run the following command from the command line or from PowerShell:

C:\> choco install renamemaster

To upgrade Rename Master, run the following command from the command line or from PowerShell:

C:\> choco upgrade renamemaster

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    $toolsDir = (Split-Path -Parent $MyInvocation.MyCommand.Definition)
    . "$toolsDir\helpers.ps1"
    
    $packageArgs = @{
      packageName   = 'renamemaster'
      fileType      = 'zip'
      url           = 'http://files.snapfiles.com/directdl/rmv313.zip'
      checksum      = 'f35dcbc8432523b365b27de09bfd56df6a4602a17bd55a2f01d9b2595175765f'
      checksumType  = 'sha256'
      unzipLocation = $toolsDir
    }
    
    Install-ChocolateyZipPackage @packageArgs
    
    Install-ChocolateyPinnedItem "$toolsDir\RenameMaster.exe"
    
    Install-ChocolateyExplorerMenuItem 'openRenameMaster' 'Rename Master...' "$toolsDir\RenameMaster.exe"
    
    Remove-Item "$toolsDir\setup.exe" -Force -ea 0
    
  • tools\helpers.ps1 Show
    if (!(Get-Command Install-ChocolateyPinnedItem -ErrorAction SilentlyContinue)) {
      # Redsandro - I will just include the required modules with the package as long as they are not merged with Chocolatey yet
      function Install-ChocolateyPinnedItem {
        param(
          [string]$target,
          [string]$taskbar
        )
    
        # We need to know the translation for the Explorer context-menu item for pinning an item to the start-menu or taskbar.
        # Be careful. Commands vary from Windows version to version. E.g. Win7 -> Startmenu; Win8 -> Start;
        # We need loose matching. So we want to match the action (Pin) and the target (Start(menu) or Task(bar)) separately.
    
        # Translations
        # PLEASE ADD LANGUAGES
        # or even better, figure out a way to pin items to start without using this MONSTROUS trick.
    
        # Pin (to start)
        $verbPin = @{}
        $verbPin['da-DK'] = "Fastg�r"
        $verbPin['en-US'] = "Pin"
        $verbPin['fi-FI'] = "Kiinnit�"
        $verbPin['nb-NO'] = "Fest"
        $verbPin['nl-NL'] = "Vastmaken"
        $verbPin['sv-SE'] = "F�st"
    
        # (Pin to) Start
        $verbStart = @{}
        $verbStart['da-DK'] = "Start"
        $verbStart['en-US'] = "Start"
        $verbStart['fi-FI'] = "K�ynnist�"
        $verbStart['nb-NO'] = "Start"
        $verbStart['nl-NL'] = "Start"
        $verbStart['sv-SE'] = "Start"
    
        # (Pin to) Taskbar
        $verbTask = @{}
        $verbTask['da-DK'] = "Proceslinje"
        $verbTask['en-US'] = "Task"
        $verbTask['fi-FI'] = "Teht�v�palkkiin"
        $verbTask['nb-NO'] = "Oppgavelinjen"
        $verbTask['nl-NL'] = "Taak"
        $verbTask['sv-SE'] = "Aktivitetsf�ltet"
    
        # Get Locale
        $locale = (get-culture).Name
        # Not sure if get-culture < Windows 8, better not use
    
        # Usage
        if ($target -eq "") {
          Write-Output "usage: Install-ChocolateyPinnedItem <file to pin> [-taskbar true]"
          Write-Output "       -taskbar true (executable only) pins target to desktop TaskBar in stead of Start"
        }
        else {
          # Switch for Taskbar instead of Start
          if ($taskbar -ne "") {
            $verbAction = $verbTask
          }
          else {
            $verbAction = $verbStart
          }
    
          # Path exists?
          if (-not (test-path "$target")) {
            Write-Output "No such file: '$target'";
            exit
          }
    
          $pinned = $false
          $path = split-path "$target"
          $file = split-path "$target" -leaf
          $explorer	= new-object -com "Shell.Application"
          $folder = $explorer.nameSpace($path)
          $item = $folder.parseName($file)
          $options	= $item.Verbs()	# > $null # This will still output irrelevant warnings for certain context menu items such as github. How to I hide these?
    
    
          foreach ($option in $options) {
            $oName = $option.Name.Replace("&", "")
    
            # Be careful. Commands vary from Windows version to version. E.g. Win7 -> Startmenu; Win8 -> Start;
            # We need loose matching.
    
            # WARNING - This trick might also cause UNpinning if $file was already pinned!
    
            # First, match Pin
            foreach ($vPin in $verbPin.values) {
              if ($oName -imatch $vPin) {
                # Second, match action (either Start or Task(bar))
                foreach ($vAction in $verbAction.values) {
                  if ($oName -imatch $vAction) {
                    # Write-Output "Locale detected: $($vAction.key)" # Don't know key in values-foreach
                    Write-Output "Command detected: $oName"
                    Write-Output "Executing '$oName' for '$target'"
                    $option.DoIt()
                    $pinned = $true
                    break
                  }
                }
                if ($pinned) { break }
              }
            }
          }
          if ($pinned) { Write-Output "Succesfully Pinned '$file'" }
          else { Write-Output "Could not pin '$file'" }
        }
      }
    }
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Joe Joe Soft

Tags

Version History

Version Downloads Last updated Status
Rename Master 3.12 467 Monday, October 19, 2015 approved
Rename Master 3.11 545 Sunday, September 7, 2014  
Rename Master 3.9 391 Wednesday, March 5, 2014  
Rename Master 3.8.0.1 380 Monday, November 18, 2013  
Rename Master 3.8 343 Monday, August 26, 2013  
Rename Master 3.4 330 Tuesday, April 16, 2013  
Rename Master 3.3.0.20130107 277 Monday, January 7, 2013  

Discussion for the Rename Master Package

Ground rules:

  • This discussion is only about Rename Master and the Rename Master package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Rename Master, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok