Batch change file dates?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
ghost zero
Posts: 842
Joined: 26 Apr 2010 17:48

Batch change file dates?

Post by ghost zero »

Is there a way to batch change file dates? I would like to make a selection of files and then change their modified dates to the current date. Is this possible?

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Batch change file dates?

Post by SkyFrontier »

Try this:

Code: Select all

  #263; //show all items in branch
  sel f; //selects all files, no folders
  timestamp mc; //do what you want; MC stands for "modified/created" - will change both values.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

admin
Site Admin
Posts: 66349
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Batch change file dates?

Post by admin »

No scripting needed, it is built in: CKS / Miscellaneous / Timestamp / Set Modified Date to Now

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Batch change file dates?

Post by SkyFrontier »

...that was meant to all branches at once... :wink:
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

RalphM
Posts: 2089
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Batch change file dates?

Post by RalphM »

...which wasn't asked for, was it?! :wink:
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

ghost zero
Posts: 842
Joined: 26 Apr 2010 17:48

Re: Batch change file dates?

Post by ghost zero »

is it only possible with hotkey? can it be done through the UI?

admin
Site Admin
Posts: 66349
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Batch change file dates?

Post by admin »

ghost zero wrote:is it only possible with hotkey? can it be done through the UI?
It's also possible through the Infp Panel / Properties: simply type into the date fields.

ghost zero
Posts: 842
Joined: 26 Apr 2010 17:48

Re: Batch change file dates?

Post by ghost zero »

admin wrote:
ghost zero wrote:is it only possible with hotkey? can it be done through the UI?
It's also possible through the Infp Panel / Properties: simply type into the date fields.
can that be done to a selected batch of files?

also, the Info Panel / Properties doesn't have the convenience of changing timestamp to the current automatically. can you add a timestamp category to the menu so that these functions are accessible from the UI [and not hidden like they currently are]?

admin
Site Admin
Posts: 66349
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Batch change file dates?

Post by admin »

ghost zero wrote:
admin wrote:
ghost zero wrote:is it only possible with hotkey? can it be done through the UI?
It's also possible through the Infp Panel / Properties: simply type into the date fields.
can that be done to a selected batch of files?

also, the Info Panel / Properties doesn't have the convenience of changing timestamp to the current automatically. can you add a timestamp category to the menu so that these functions are accessible from the UI [and not hidden like they currently are]?
Yes.

Check out the tooltip of the datefields when you go into edit mode: simply empty the field.

Is planned.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Batch change file dates?

Post by j_c_hallgren »

ghost zero wrote: can you add a timestamp category to the menu so that these functions are accessible from the UI [and not hidden like they currently are]?
Just delete the existing date in IP Properties and that will set it to current...

And it's not hidden, just not maybe in-your-face obvious...it's clearly documented, BTW.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

ghost zero
Posts: 842
Joined: 26 Apr 2010 17:48

Re: Batch change file dates?

Post by ghost zero »

another problem with the Info Panel / Properties method is that it can't be done to multiple files at once. so hope this gets added to the menu.

admin
Site Admin
Posts: 66349
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Batch change file dates?

Post by admin »

ghost zero wrote:another problem with the Info Panel / Properties method is that it can't be done to multiple files at once
Last time I tried it could.

ghost zero
Posts: 842
Joined: 26 Apr 2010 17:48

Re: Batch change file dates?

Post by ghost zero »

it doesn't work when i drag select the items. can this be fixed?

admin
Site Admin
Posts: 66349
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Batch change file dates?

Post by admin »

ghost zero wrote:it doesn't work when i drag select the items. can this be fixed?
One of the items must be the current item (= shown on the Properties tab).

(A better UI is planned...)

ghost zero
Posts: 842
Joined: 26 Apr 2010 17:48

Re: Batch change file dates?

Post by ghost zero »

even if i select an item first and then drag select, it still doesn't work. it only works with shift or ctrl selecting, but still doesn't work with drag selecting.

Post Reply