TimeAdjust - change or copy file dates/times

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Re: TimeAdjust - change or copy file dates/times

Post by *StatusQuo »

Kowa1 wrote:So please write down how You do it.
Not sure, if I understood you right, but indeed "how to sync file dates" seems to be undocumented in TC's help file.
However, this is how to do it using TC's integrated function:
  • start cm_FileSync
  • click "Compare" button
  • mark all desired files
  • rickt-click on a marked file and choose "Copy file properties" for the desired direction
  • select [X] Timestamp (date+time)
Kowa1 wrote:No One can solve this bug?
I think this is no bug? I just wrote TimeAdj as external add-on to access this functionality faster (outside of cm_FileSync) and allow automation.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
mrle
Junior Member
Junior Member
Posts: 58
Joined: 2005-04-25, 21:44 UTC

Post by *mrle »

@StatusQuo

Download link in first post is empty.
Can you upload TimeAdj v1.01 somewhere?
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

2mrle
Thanks for noticing me. Obviously box.net dropped the account due to "inactivity". Again. :(

I added a new link (dropbox) in the first post.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
mrle
Junior Member
Junior Member
Posts: 58
Joined: 2005-04-25, 21:44 UTC

Post by *mrle »

^

tnx.
User avatar
Kowa1
Junior Member
Junior Member
Posts: 6
Joined: 2008-03-19, 14:10 UTC

Post by *Kowa1 »

Of course writing bug I meant lack of information. Thanks for answer.
But back to the TimeAdj.

Code: Select all

Command   :  TimeAdj.exe
Parameters:  /LST  "%L"  "%T\" 
Work only on marked files. Not on files in marked in TC tab directories and subdirs. Is the way to bypass this inconvenience.
Are 10 kind of people. They which know binary system and they which don't know.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Kowa1 wrote:Work only on marked files. Not on files in marked in TC tab directories and subdirs.
Indeed, TimeAdj is only made to work on files and file lists.
Batch commands should help at least for files in subdirs (not the dirs themselves).
I'll do some tests and try to find a solution.

Anyway, for a (complex) directory structure, TC's own cm_FileSync is more convenient and powerful, I guess.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

Kowa1 wrote:Work only on marked files. Not on files in marked in TC tab directories and subdirs.
I guess one could enable "Branch View" in TC first, then select all, next call TimeAdj.



 
User avatar
Kowa1
Junior Member
Junior Member
Posts: 6
Joined: 2008-03-19, 14:10 UTC

Post by *Kowa1 »

Stefan2 wrote:I guess one could enable "Branch View" in TC first, then select all, next call TimeAdj.
No not work: error, error, error ... .
StatusQuo wrote:Anyway, for a (complex) directory structure, TC's own cm_FileSync is more convenient and powerful, I guess.
Lot of work: mouse click, click ,click .. ; after all, could be added in the window "synchronize .. " next to "show" area, area "copy only" with parameters: Attributes ( flags mark a, r, h, s ) and Timestamp ( flags mark C, M, A )?

Actually, I'm just trying to workaround the problem timestamp changing during synchronize file copying.
I have found on ( http://www.cnet.com/forums/discussions/how-can-i-preserve-my-files-create-dates-after-copying-and-pasting-to-another-drive-550976/ ) info about SafeCopy V2 ( http://www.elwinsoft.com/safecopy-free.html ).
Could anyone write plugin which could pass synchronize copying work to the SafeCopy aplication instaled separately on PC.
Are 10 kind of people. They which know binary system and they which don't know.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

I found a solution using a batch caller (TimeAdj_recursive.cmd) and added it on the first page.
This way processing subdirs recursively works now (tested on Win7-64).

TC's branch view is not supported yet (the relative path of source files would have to be detected and added to the target path when calling TimeAdj.exe).
Maybe I'll get an idea how to handle this, too - hints welcome. ;)

In the linked CNet thread it looks like they are talking about creation dates - again another story and room for improvement of TimeAdj.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Update:
Added support for Branch View, UNC paths, Win8 (using included TimeAdj_recursive.cmd - now included in the archive).
Link updated on first page.

Tested on Win2k up to Win8.0.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
Post Reply