Advanced Rename Presets

Discussion related to "Everything" 1.5 Alpha.
Post Reply
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Advanced Rename Presets

Post by void »

A list of useful Advanced Rename presets for Everything 1.5.



Zero pad first number (1 => 001)
Swap text on either side of a dash (abc - 123 => 123 - abc)
Prefix date modified (Filename.txt => 2024-01-29 - Filename.txt)



Zero pad first number

1 => 001
2 => 002
10 => 010
11 => 011
100 => 100

Format the first number in the filename to have at least 3 digits using zero padding if needed.

Match Case: Disabled
Match Diacritics: Disabled
Regular expressions: Enabled
Ignore extension: Enabled
Old format:
(\d+)(.*)$

New format:
<text:\1,000>\2




Swap text on either side of a dash

abc - 123 => 123 - abc

Match Case: Disabled
Match Diacritics: Disabled
Regular expressions: Enabled
Ignore extension: Enabled
Old format:
^(.*?) - (.*?)$

New format:
\2 - \1




Prefix date modified

Filename.txt => 2024-01-29 - Filename.txt

Match Case: Disabled
Match Diacritics: Disabled
Regular expressions: Disabled
Ignore extension: Enabled
Old format:
%1

New format:
<formatfiletime:$datemodified:,"yyyy-MM-dd"> - %1




If you find any useful presets, please post them here!
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: Advanced Rename Presets

Post by therube »

FlIPPeR:

Old format: %1 - %2
New format: %2 - %1


dupME:

Old format: %1
New format: %1 dupme


Flipper simply reverses the items across a dash (the first dash).
dupME simply appends " dupme" (3 spaces are [actually] in there) to whatever is there.

FlIPPeR I use regularly.
dupME I'll typically do by hand.

With FlIPPeR, using the existing history is fine, though as I rename I'm likely to do a lot of different renames before needing another FlIPPeR, so it is apt to be lost from history, & just picking it from the Presents is much more efficient.
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Advanced Rename Presets

Post by void »

Everything 1.5.0.1367a adds separate presets for rename and move/copy.

Generally, these presets are not compatible with each other.
mvdeckard
Posts: 29
Joined: Tue Oct 25, 2022 11:46 pm

Re: Advanced Rename Presets

Post by mvdeckard »

Add video resolution to end of filename (ie 480p, 720p, 1080p, 2160p)
Old format: %1
New format: %1.$height:p
(Ignore extension checked)

Add media creation date to filename (if one exists)
Old format: %1
New format: %1.<formatfiletime:$media-created:,"yy.MM.dd">
(Ignore extension checked)

I'm working on some date manipulation presets and will edit this post accordingly. ie
Filename.2024-02-14.jpg --> Filename.24.02.14.jpg
Post Reply