Batch change file dates?
-
ghost zero
- Posts: 842
- Joined: 26 Apr 2010 17:48
Batch change file dates?
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?
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...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
-
admin
- Site Admin
- Posts: 66351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Batch change file dates?
No scripting needed, it is built in: CKS / Miscellaneous / Timestamp / Set Modified Date to Now
FAQ | XY News RSS | XY X
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: Batch change file dates?
...that was meant to all branches at once... 
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...
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?
...which wasn't asked for, was it?! 
Ralph 
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(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?
is it only possible with hotkey? can it be done through the UI?
-
admin
- Site Admin
- Posts: 66351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Batch change file dates?
It's also possible through the Infp Panel / Properties: simply type into the date fields.ghost zero wrote:is it only possible with hotkey? can it be done through the UI?
FAQ | XY News RSS | XY X
-
ghost zero
- Posts: 842
- Joined: 26 Apr 2010 17:48
Re: Batch change file dates?
can that be done to a selected batch of files?admin wrote:It's also possible through the Infp Panel / Properties: simply type into the date fields.ghost zero wrote:is it only possible with hotkey? can it be done through the UI?
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: 66351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Batch change file dates?
Yes.ghost zero wrote:can that be done to a selected batch of files?admin wrote:It's also possible through the Infp Panel / Properties: simply type into the date fields.ghost zero wrote:is it only possible with hotkey? can it be done through the UI?
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]?
Check out the tooltip of the datefields when you go into edit mode: simply empty the field.
Is planned.
FAQ | XY News RSS | XY X
-
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?
Just delete the existing date in IP Properties and that will set it to current...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]?
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.
(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?
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: 66351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Batch change file dates?
Last time I tried it could.ghost zero wrote:another problem with the Info Panel / Properties method is that it can't be done to multiple files at once
FAQ | XY News RSS | XY X
-
ghost zero
- Posts: 842
- Joined: 26 Apr 2010 17:48
Re: Batch change file dates?
it doesn't work when i drag select the items. can this be fixed?
-
admin
- Site Admin
- Posts: 66351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Batch change file dates?
One of the items must be the current item (= shown on the Properties tab).ghost zero wrote:it doesn't work when i drag select the items. can this be fixed?
(A better UI is planned...)
FAQ | XY News RSS | XY X
-
ghost zero
- Posts: 842
- Joined: 26 Apr 2010 17:48
Re: Batch change file dates?
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.
XYplorer Beta Club