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 in 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.

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

You can also make the New Path column visible in the Files table, where you will see the final destination for each item. This can be extremely useful when working with relative paths, because relative paths, including those which contain ".." (parent folder) and "." (current folder), will be resolved into the full path.


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 example) .

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.