Rename - How to add date-modified to filenames

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Rename - How to add date-modified to filenames

Post by Stamimail »

Old Filenames:
abc
def

Old Format: %1
New Format: [year:$date-modified:]-[month:$date-modified:]-[day:$date-modified:] - %1

New Filenames:
2022-07-20 - abc
2022-07-20 - def

works for me. :)
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Rename - How to add date-modified to filenames

Post by Stamimail »

What about Presets for Rename?
Users will want to save and share with others common renaming tasks.

https://www.den4b.com/wiki/ReNamer:Usin ... _structure
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Rename - How to add date-modified to filenames

Post by NotNull »

Another discussion about rename templates.
user123
Posts: 28
Joined: Sat Jan 23, 2021 4:16 pm

Re: Rename - How to add date-modified to filenames

Post by user123 »

I find it easier to do these renamings and file attribute changes with programs like BulkFileChanger and Advanced Renamer, both are free for personal use.
Advanced Renamer for example can add location place names (nearest city, state, country) to filenames based on EXIF GPS coordinates, it was very useful, tried it yesterday on 5000 files.
What I can't find anywhere is a program that can sort jpeg files based on their compression/quality, from 100% to 50% for example. Couldn't find such feature in Everything, but that would be very useful to find out which photos are 100% and need to be compressed to 94% for example.
Stamimail wrote: Thu Jul 21, 2022 7:08 pm What about Presets for Rename?
Users will want to save and share with others common renaming tasks.

https://www.den4b.com/wiki/ReNamer:Usin ... _structure
There's a program TagScanner that can do it very well, rename files from on audio metadata.
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: Rename - How to add date-modified to filenames

Post by therube »

sort jpeg files based on their compression/quality, from 100% to 50% for example
You might see what Bulk Rename Utility (BRU) can do?
I'm not sure, but I believe it can pull meta-data & rename file names based on that.
So if (& I don't know) "compression/quality" is stored there, it may be able to access it...
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Rename - How to add date-modified to filenames

Post by NotNull »

user123 wrote: Sun Jul 31, 2022 5:39 pm What I can't find anywhere is a program that can sort jpeg files based on their compression/quality, from 100% to 50% for example.
Does the following show the compression rate of your jpg files
  • Search for (for example) c:\photos ext:jpg;jpeg
  • Right-click the header of the result list
  • Choose Add Columns
  • In the left pane of the Select Property window, select Everything Properties > Picture
  • In the right pane, select Compression
  • Press OK
  • Click the Compression column header to sort by compression
  • Wait until Everything is done inspecting your files
user123
Posts: 28
Joined: Sat Jan 23, 2021 4:16 pm

Re: Rename - How to add date-modified to filenames

Post by user123 »

NotNull wrote: Wed Aug 03, 2022 12:26 pm
user123 wrote: Sun Jul 31, 2022 5:39 pm What I can't find anywhere is a program that can sort jpeg files based on their compression/quality, from 100% to 50% for example.
Does the following show the compression rate of your jpg files
  • Search for (for example) c:\photos ext:jpg;jpeg
  • Right-click the header of the result list
  • Choose Add Columns
  • In the left pane of the Select Property window, select Everything Properties > Picture
  • In the right pane, select Compression
  • Press OK
  • Click the Compression column header to sort by compression
  • Wait until Everything is done inspecting your files
I already did this a few days ago; just tried it again and it just shows 'Uncompressed', for some - LZW and for most - just shows blank field.
eswul62
Posts: 130
Joined: Wed Jul 31, 2013 6:07 am

Re: Rename - How to add date-modified to filenames

Post by eswul62 »

Stamimail wrote: Wed Jul 20, 2022 7:36 pm Old Filenames:
abc
def

Old Format: %1
New Format: [year:$date-modified:]-[month:$date-modified:]-[day:$date-modified:] - %1

New Filenames:
2022-07-20 - abc
2022-07-20 - def

works for me. :)
+1

Indeed, it would be nice if such feature would exist within Everything. Undoubtedly there are many 3rd party tools around.
I, myself, use Directory Opus.
But, if it would be possible within Everything, one day, it would be great.

OTOH at some point we are entering the grey area where Everything is moving on to a full fledged Explorer replacement,
rather than being a very fast file finder only :-)
Maybe we are already there...., I don't mind.

-
SnagIt-15082022 052117.png
SnagIt-15082022 052117.png (33.17 KiB) Viewed 3862 times
donotbugme
Posts: 23
Joined: Mon Oct 16, 2017 10:33 am

Re: Rename - How to add date-modified to filenames

Post by donotbugme »

To add date-modified to filenames, use this format: [year:$date-modified:]-[month:$date-modified:]-[day:$date-modified:] - %1.
Last edited by void on Sat Nov 16, 2024 5:38 am, edited 1 time in total.
Reason: removed spam
eswul62
Posts: 130
Joined: Wed Jul 31, 2013 6:07 am

Re: Rename - How to add date-modified to filenames

Post by eswul62 »

Thank you very much!
(BTW: sorry for the delay)
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: Rename - How to add date-modified to filenames

Post by void »

Please consider using the following to format the date modified:

<FORMATFILETIME:$date-modified:,"YYYYMMDD">


<FORMATFILETIME:...>
Date format
Time format
eswul62
Posts: 130
Joined: Wed Jul 31, 2013 6:07 am

Re: Rename - How to add date-modified to filenames

Post by eswul62 »

Thanks! Will check that out as well, of course. Really appreciate your suggestion.
Post Reply