You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let us retrieve and use the names of parent directories when renaming with PowerRename.
Current item: 'C:\Users\Bob\Downloads\Cool Band\New album\Track 1.mp3' $p expands to 'Track 1.mp3' (with extension) $p0 expands to '.mp3' (only extension) $p1 expands to 'Track 1' (without extension) $p2 expands to 'New album' $p3 expands to 'Cool Band'
And it completely avoids the problem of them attempting to include path separators in the new name.
So, renaming from '.*'
to '$p3 - $p1 ($p2).$p0'
would give 'Cool Band - Track 1 (New album).mp3'
Scenario when this would be used?
In many cases, files are meaningfully organized by their directory structure, and the parent directories can contain valuable information relating to the file that would be extremely useful when renaming the file. A notable example is music libraries where people often organize their audio files with important metadata information (artist/album/genre) being inferred from the directory structure.
Supporting information
No response
The text was updated successfully, but these errors were encountered:
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Description of the new feature / enhancement
Let us retrieve and use the names of parent directories when renaming with PowerRename.
Current item: 'C:\Users\Bob\Downloads\Cool Band\New album\Track 1.mp3'
$p expands to 'Track 1.mp3' (with extension)
$p0 expands to '.mp3' (only extension)
$p1 expands to 'Track 1' (without extension)
$p2 expands to 'New album'
$p3 expands to 'Cool Band'
And it completely avoids the problem of them attempting to include path separators in the new name.
So, renaming from
'.*'
to
'$p3 - $p1 ($p2).$p0'
would give
'Cool Band - Track 1 (New album).mp3'
Scenario when this would be used?
In many cases, files are meaningfully organized by their directory structure, and the parent directories can contain valuable information relating to the file that would be extremely useful when renaming the file. A notable example is music libraries where people often organize their audio files with important metadata information (artist/album/genre) being inferred from the directory structure.
Supporting information
No response
The text was updated successfully, but these errors were encountered: