ReNamer:Renaming to another folder

From den4b Wiki
Jump to navigation Jump to search

You can optionally move the renamed item to another folder. If you have loaded multiple files in ReNamer, you can also sort them into multiple folders.

Moving the item to another folder

Just specify a new folder path in the New Name field.

  • Although you can use this trick in multiple rules, the easiest is the Insert rule.
  • You can use either absolute path (e.g. "D:\Utilities\") or relative path (e.g. "..\").

For example, let us imagine that we have just added few files to ReNamer.

Name
Text.txt
Song.mp3
Document.doc

We want to move those files to a new folder "C:\New Folder". What we need to do is to add a single Insert rule, inserting "C:\New Folder\" as prefix. This will result in the following:

Name New Name
Text.txt C:\New Folder\Text.txt
Song.mp3 C:\New Folder\Song.mp3
Document.doc C:\New Folder\Document.doc

Now you can proceed with the renaming as usual.

  • If the target folders do not exist already, ReNamer will create them and then move the file into these newly created folders.

Tip: Make the New Path column visible in the Files table, so that you can see the final destination for each item. This can be particularly useful when working with relative paths, because ReNamer displays the relative paths as if they are absolute paths (you do not have to guess the final destination).

Sorting files into multiple folders

When you have loaded multiple files in ReNamer, you can use the properties of these files to sort them into different folders.

  • If the folders do not exist already, ReNamer will create them.

To do this, instead of hard-coding the path, use a token in the new path (see this example, which uses the Replace rule) .

Instead of moving the file, can we copy it into another folder?

Well, as we saw above, ReNamer actually changes the path of the file, which effectively moves the file. But copying a file requires creating a new instance of the file, which ReNamer cannot do.

The best we can do is to copy the files in the same folder first (with an external application, such as Windows Explorer) and then rename them as shown above to move them.But even this can save a lot of work, as ReNamer can create new folders and distribute the files into them at once.