is there a way to change the createdate using the modified ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
giulia
Senior Member
Senior Member
Posts: 336
Joined: 2013-09-14, 05:33 UTC
Location: Europe

is there a way to change the createdate using the modified ?

Post by *giulia »

hi

is there a way to change the createdate using the modfied date ?
and viceversa

thanks
love Total Commander , best file manager ever made
User avatar
nsp
Power Member
Power Member
Posts: 1952
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: is there a way to change the createdate using the modifi

Post by *nsp »

giulia wrote:hi

is there a way to change the createdate using the modfied date ?
and viceversa

thanks
If you want you can do it using nircmd setfiletime and tcbl to construct the command:
in the tcbl.ini you can set the folowing sections:

Code: Select all

[setFileDateCreatedAsModified]
ini=# %d-%m-%Y %H:%M:%S
ini=q
cmd=@"<PATH_TO>\nircmd" setfiletime "$f" "$#m"

[setFileDateModifiedasCreated]
ini=# %d-%m-%Y %H:%M:%S
ini=q
cmd=@"<PATH_TO>\nircmd" setfiletime "$f" "" "$#c"
in Total commander you can have for setFileDateCreatedAsModified:

Code: Select all

command:<path to>\TCBL
parameters: -i %L setFileDateCreatedAsModified
Ini file for tcbl is mandatory as you need to specify datetime format.
if you want to have a menu, you can use askparam to chose the ini section.
you can get nircmd : http://www.nirsoft.net/utils/nircmd.html
you can get tcbl : http://tccfestuff.free.fr/
User avatar
milo1012
Power Member
Power Member
Posts: 1158
Joined: 2012-02-02, 19:23 UTC

Post by *milo1012 »

Why so complicated?
Mark your files or dirs,
and use Files -> Change attributes.

Now fill in:
Change plugin attributes:
tc -> creationdate -> [=tc.writedate]

For doing the reverse, use:
tc -> writedate -> [=tc.creationdate]
TC plugins: PCREsearch and RegXtract
giulia
Senior Member
Senior Member
Posts: 336
Joined: 2013-09-14, 05:33 UTC
Location: Europe

Post by *giulia »

milo1012 wrote:Why so complicated?
Mark your files or dirs,
and use Files -> Change attributes.

Now fill in:
Change plugin attributes:
tc -> creationdate -> [=tc.writedate]

For doing the reverse, use:
tc -> writedate -> [=tc.creationdate]
hi

like this ?
is enough?

Image: http://i.imgur.com/fdvWO7C.png

thanks
love Total Commander , best file manager ever made
User avatar
milo1012
Power Member
Power Member
Posts: 1158
Joined: 2012-02-02, 19:23 UTC

Post by *milo1012 »

giulia wrote:like this ?
is enough?

Image: http://i.imgur.com/fdvWO7C.png
Yes, that will do it.

And BTW,
when in doubt, just create temporary dirs or files, and try it, before doing it with important files.
You can see both, creation and mod. date, at the same time quite easy, by creating a custom column view, containing both fields.
(use the very same internal "tc" content plug-in fields)
TC plugins: PCREsearch and RegXtract
giulia
Senior Member
Senior Member
Posts: 336
Joined: 2013-09-14, 05:33 UTC
Location: Europe

Post by *giulia »

milo1012 wrote:
giulia wrote:like this ?
is enough?

Image: http://i.imgur.com/fdvWO7C.png
Yes, that will do it.

And BTW,
when in doubt, just create temporary dirs or files, and try it, before doing it with important files.
You can see both, creation and mod. date, at the same time quite easy, by creating a custom column view, containing both fields.
(use the very same internal "tc" content plug-in fields)
thanks a lot
i always used total commander , but never known all its powerfull
you know i know if it possible have only 1 panel ?
i know total commander it's 2 panel , it's been always been
but to select and have max monitor space for a while i would like to have 1 panel for a while


ps can i have a custom column view with full folder size ?
love Total Commander , best file manager ever made
User avatar
milo1012
Power Member
Power Member
Posts: 1158
Joined: 2012-02-02, 19:23 UTC

Post by *milo1012 »

giulia wrote:...if it possible have only 1 panel ?
I don't think that you can disable one panel, but you can maximize one panel's size:
Drag the panel separator to the left or right (just hover with mouse until you see the special cursor),
or do a right click on the separator, where you can select predefined size relations.
giulia wrote:ps can i have a custom column view with full folder size
You can still manually press Alt+Shift+Return in cust. columns, for letting TC calculate the folder size on demand.
For doing it automatically, install the DirSizeCalc plug-in.
TC plugins: PCREsearch and RegXtract
User avatar
nsp
Power Member
Power Member
Posts: 1952
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

milo1012 wrote:Why so complicated?
...
I never use this attribute window as i cannot directly call the profile/configuration i saved as parameter to cm_SetAttrib. (And i like a lot Batch and console pgms ;)

But I agree that it is a more elegant solution using only TC and easier ;).

About folder Size -> calculation always take time and can degrade TC responsiveness if you do not choose "On Demand" columns.
Post Reply