FileTime Delta (Content Plugin) disscussion thread

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

Moderators: sheep, Hacker, Stefan2, white

Mephisto77
Junior Member
Junior Member
Posts: 10
Joined: 2012-11-14, 16:41 UTC

FileTime Delta (Content Plugin) disscussion thread

Post by *Mephisto77 » 2012-11-15, 11:32 UTC

From developer to all:
Here you can discuss or write comments to the new content plugin FileTime Delta

Feel free to write your ideas or opinion to this plugin.

Thank you
Mephisto77


Plugin tested with TC 7.55a and 8.0ß9

User avatar
EricB
Senior Member
Senior Member
Posts: 337
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB » 2012-11-15, 12:47 UTC

Welcome to the forum, Mephisto77.

Although I'm no TC rookie (using it for more than 15 years), I'm at a loss on how to use the plugin? Could you provide some more explanation/documentation?

Regards, EricB
Regards, EricB

Mephisto77
Junior Member
Junior Member
Posts: 10
Joined: 2012-11-14, 16:41 UTC

Post by *Mephisto77 » 2012-11-15, 13:49 UTC

Thank you for your interest in the plugin.

The use of the plugin is very simple, just install the plugin and then you can:

- select one or more files
- go to menu: Files-> Change Attributes...
- activate "Change plugin attributes"
- select "filetime_delta" plugin
- select "writetime_delta" property
- value can be a positive or negative numeric number
- and select the unit u want to change
( if you select h -> then the numeric number will decrees or increase the file time hours)
e.g.
- select "writetime_delta"
- Value: -3
-Unit: min

then the file time of the selected file will be 3 minutes earlier then the origin file time...

My use-case was:
I did pictures with two different cameras in my holiday... One cam has the time from home country and the other cam has the time from holiday country, so i went into trouble while i merged the files together... with this plugin i could manipulate all the file times from the pictures that have the home time zone to the same timezone like the other pictures...

thats it... :D
Last edited by Mephisto77 on 2012-11-15, 15:03 UTC, edited 1 time in total.
greetings
Mephi

My plugins:

User avatar
EricB
Senior Member
Senior Member
Posts: 337
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB » 2012-11-15, 14:23 UTC

Mephisto77,

Thank you for your explanation. Plugin works indeed as described, I did only a quick test under TC 8.01, but it was clear enough. Maybe a good idea to add a small explanation in the plugin archive?

Two remarks:
1) The Change attributes dialog has a problem showing the full plugin name and selected property, but this is a generic TC problem, the comboboxes are non-scalable. A quick solution would be to shorten both plugin name and property name, but frankly I would not bother.
2) Way back in the past (before introduction of wdx plugins) forum member Hacker made a TC addon which does more or less the same as your plugin. See http://thehacker.host.sk/addtime/ I think he made it even for the same reasons as you did. I don't know if you were aware of this? Even then, I like the approach of the wdx plugin better, it's more integrated into TC.

Regards, EricB

Edit: I see you have posted a new archive which includes a readme.txt. Thanks for fast response!
Last edited by EricB on 2012-11-15, 14:30 UTC, edited 1 time in total.

Mephisto77
Junior Member
Junior Member
Posts: 10
Joined: 2012-11-14, 16:41 UTC

Post by *Mephisto77 » 2012-11-15, 14:30 UTC

EricB,

- readme is includes now :D

Remark 1
- You can simple rename the plugin name by yourself if you want, you only need to edit the plugin filename of the wdx (filetime_delta.wdx -> timedelta.wdx)

Remark 2
- i dont know the addtime plugin, but i can have a look on it...
-> yes it is nearly the same... the addtime is an normal exe that you give a list of the marked files and then a dialog is opening and you can select which timespan you can add... the differnece between both is exe with command line parameters vs. a real tc plugin
- but in the addtime addon you can not choose which time you manipulate, a file has 3 different times. creation/write/access time in my plugin you can choose 8)

If you need to add years or days i can include it to the plugin, do you need?
Last edited by Mephisto77 on 2012-11-15, 15:06 UTC, edited 3 times in total.
greetings
Mephi

My plugins:

User avatar
EricB
Senior Member
Senior Member
Posts: 337
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB » 2012-11-15, 14:51 UTC

Hi Mephi,

I saw the new archive with readme on www.totalcmd.net, but your response was even quicker than my edit of my previous post ;-)

I know I can rename the plugin, but as I already said, it is no big deal. Maybe some time in the future Christian will do some work on scalable dialog boxes.

Adding years or days seems a good extension. I do not need it myself (yet), but maybe some other people do. I can imagine that a camera might not support a leap year, so that's a good use case for days. And some computer bioses of which the battery is empty will set system date to some arbitrary start date in the past, so adding years might be interesting in that case.

Regards, EricB

Mephisto77
Junior Member
Junior Member
Posts: 10
Joined: 2012-11-14, 16:41 UTC

Post by *Mephisto77 » 2012-11-15, 14:55 UTC

EricB,

yes good ideas, thanks, i will add it in a further version...
greetings
Mephi

My plugins:

User avatar
EricB
Senior Member
Senior Member
Posts: 337
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB » 2012-11-16, 10:20 UTC

Hi Mephi,

Just tested the new version 1.0 and year and day adjustment seem to work fine.

Suggestions:
- The values for h, min, s could be full strings, like year and day
- The archive for 1.0 still states 0.9 in the pluginst.inf file

Nice work again!

Regards, EricB
Regards, EricB

Mephisto77
Junior Member
Junior Member
Posts: 10
Joined: 2012-11-14, 16:41 UTC

Post by *Mephisto77 » 2012-11-16, 10:45 UTC

Done.
greetings
Mephi

My plugins:

User avatar
EricB
Senior Member
Senior Member
Posts: 337
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB » 2012-11-16, 10:48 UTC

Lightning speed!

Tested and all working fine.

Thx again,

EricB
Regards, EricB

User avatar
Peter
Power Member
Power Member
Posts: 1913
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz
Contact:

Post by *Peter » 2012-11-19, 10:04 UTC

Mephisto77 wrote:...- readme is includes now :D ....
:roll:

Where?

I downloaded 2 min ago and got three files in the ZIP: 1 x inf, 1 x wdx, 1 x uwdx

BTW: Are you planning to add language support (could be easy - only few words ..)

Peter
TC 9.22a / #266191
Win 7 x64 / Win 10 x64

User avatar
EricB
Senior Member
Senior Member
Posts: 337
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB » 2012-11-19, 10:10 UTC

@Peter,

You are right, the readme was present in v 0.9 but omitted in later versions. I did not notice, because it was already present in the target folder...

Regards, EricB
Regards, EricB

Mephisto77
Junior Member
Junior Member
Posts: 10
Joined: 2012-11-14, 16:41 UTC

Post by *Mephisto77 » 2012-11-19, 11:27 UTC

sorry i forgot the readme in the newer versions...

yes language support is possible...
greetings
Mephi

My plugins:

Mephisto77
Junior Member
Junior Member
Posts: 10
Joined: 2012-11-14, 16:41 UTC

Post by *Mephisto77 » 2012-11-19, 11:56 UTC

i included language file

you can edit it and add your language, and send it back to me.
greetings
Mephi

My plugins:

User avatar
Peter
Power Member
Power Member
Posts: 1913
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz
Contact:

Post by *Peter » 2012-11-19, 12:29 UTC

The German language is OK; here is a quick draft of German Readme:
German readme; 19.11.2012; Version 1.3

Danke für das Interesse an diesem Plugin.

Die Anwendung des Plugins ist sehr einfach; installieren sie es und dann können sie:

- ein oder mehrere Dateien wählen
- gehen sie zum Menü: "Dateien - Dateiattribute bearbeiten ..."
- aktivieren sie "Pluginattribute ändern"
- wählen sie das Plugin "filetime_delta"
- wählen sie (z.B.) die Eigenschaft "Erstellzeit Delta"
- der "Wert" kann eine positive oder negative numerische Zahl sein
- und wählen sie die Einheit, die sie ändern möchten
(wenn sie "Stunde" wählen wird die Dateizeit um die angegebene Stundenzahl vergrößert oder verkleinert)

z.B.
- Auswahl "Erstellzeit Delta"
- Wert: -3
- Einheit: Min

-> dann wird die Dateizeit der gewählten Datei 3 Minuten früher sein als die Originalzeit....

Mein Anwendungsfall war:
In den Ferien fotografierte ich mit zwei verschiedenen Kameras - eine hatte die Zeit meiner Heimat und die andere hatte die Zeit des Urlaubslandes, und so bekam ich Probleme beim Zusammenführen der Dateien.... Mit diesem Plugin konnte ich alle Dateizeiten der Fotos mit Heimatzeit ändern, so dass sie die gleiche Zeitzone hatten wie die anderen Fotos ...

Das war's.... Sehr fröhlich

Grüße

Mephi
Peter

BTW:
What happens if I enter "3.5 minutes"?
TC 9.22a / #266191
Win 7 x64 / Win 10 x64

Post Reply