You are not logged in.
Pages: 1
When inserting file name by folder path can the path position or level be targeted for removal?
So if I’m storing pictures in parent folders with different names like this:
C:\Photos\Parent Folder\ (the parent folder name changes with every photo shoot)
It’s easy to remove the parts of the folder path that do not change but can we remove the parent folder names that change?
Can we tell ReNamer to skip levels in the folder path? Perhaps we can tell ReNamer to start the folder path at a certain postition in the path?
Last edited by dannician (2020-06-24 06:23)
Offline
Can you provide an example of input paths and desired output paths?
At the moment it sounds like you are trying to move files down a folder level, removing the first parent folder from the path. Is that right?
Offline
I want to remove the pattern of:
C:\Photos\Parent\
when the name for "Parent" is different each time.
The pattern of the path is the same, but the word used for the "Parent" changes. Can we remove by a pattern that targets the text in between the second and third \? Maybe a RegEx would do this?
Offline
I am able to accomplish this with two steps. The first step is to remove the fixed part of the path
C:\Photos\
This leaves
Parent\
which can be removed with the Delete starting at position 1 and using \ as the delimiter.
Last edited by dannician (2020-06-24 17:58)
Offline
From your description so far it looks like you insert the path first and then delete it. This begs a question - why insert it at all?
I still don't see where the problem is. Maybe a complete example would help demonstrate your issue.
Offline
I am only removing a part of the inserted FolderPath, not the whole thing. Part of the path is retained in the new name.
Offline
I am only removing a part of the inserted FolderPath, not the whole thing. Part of the path is retained in the new name.
You should have simply provided a complete example, because your initial description didn't demonstrate that at all.
For example:
C:\Photos\KeepThisPart\Parent\File.ext -> KeepThisPartFile.ext
Anyhow, it looks like you have found a solution in the meantime.
Offline
Pages: 1