Page 1 of 1

Batch change file dates?

Posted: 08 Oct 2010 15:56
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?

Re: Batch change file dates?

Posted: 08 Oct 2010 16:13
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.

Re: Batch change file dates?

Posted: 08 Oct 2010 16:27
by admin
No scripting needed, it is built in: CKS / Miscellaneous / Timestamp / Set Modified Date to Now

Re: Batch change file dates?

Posted: 08 Oct 2010 16:36
by SkyFrontier
...that was meant to all branches at once... :wink:

Re: Batch change file dates?

Posted: 08 Oct 2010 16:49
by RalphM
...which wasn't asked for, was it?! :wink:

Re: Batch change file dates?

Posted: 09 Oct 2010 05:42
by ghost zero
is it only possible with hotkey? can it be done through the UI?

Re: Batch change file dates?

Posted: 09 Oct 2010 09:11
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.

Re: Batch change file dates?

Posted: 09 Oct 2010 10:14
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]?

Re: Batch change file dates?

Posted: 09 Oct 2010 10:20
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.

Re: Batch change file dates?

Posted: 09 Oct 2010 10:25
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.

Re: Batch change file dates?

Posted: 09 Oct 2010 14:36
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.

Re: Batch change file dates?

Posted: 09 Oct 2010 14:37
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.

Re: Batch change file dates?

Posted: 09 Oct 2010 19:18
by ghost zero
it doesn't work when i drag select the items. can this be fixed?

Re: Batch change file dates?

Posted: 09 Oct 2010 19:27
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...)

Re: Batch change file dates?

Posted: 09 Oct 2010 19:36
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.