Concatenate folder and subfolder strings
Hi all,
I was curious if the following is possible in Advanced Renamer:
I have a list of root folders (eg. "000", "001", ...) that each contain individual subfolders (eg. "ABC", "DEF", ...). Can I rename the root folders so that they are appended with the subfolder names (eg. "000ABC", "001DEF", ...)?
Thanks,
Paul
I was curious if the following is possible in Advanced Renamer:
I have a list of root folders (eg. "000", "001", ...) that each contain individual subfolders (eg. "ABC", "DEF", ...). Can I rename the root folders so that they are appended with the subfolder names (eg. "000ABC", "001DEF", ...)?
Thanks,
Paul
Reply to #1:
Hi Paul,
That is one thing that I don't think Aren can do.
You'd best use one of: a PowerShell script, a bash script, or a Python program -- depending on what you are most comfortable with.
If you provide an exact before and after file trees as an example, I can help with a script.
Regards,
Randy
PS. Why would you wish to do rename in such a manner?! ;)
Hi Paul,
That is one thing that I don't think Aren can do.
You'd best use one of: a PowerShell script, a bash script, or a Python program -- depending on what you are most comfortable with.
If you provide an exact before and after file trees as an example, I can help with a script.
Regards,
Randy
PS. Why would you wish to do rename in such a manner?! ;)
Reply to #1:
You can't use a value from a subfolder name, only the opposite - a name from a parent folder.
It is kinda odd to rename in this way, but again, I can see why you might end up in a situation where you want this. I might add a tag to do this in an upcoming version.
You can't use a value from a subfolder name, only the opposite - a name from a parent folder.
It is kinda odd to rename in this way, but again, I can see why you might end up in a situation where you want this. I might add a tag to do this in an upcoming version.