Copying creation dates and times
Moderators: Hacker, petermad, Stefan2, white
Copying creation dates and times
Hi people,
I'm new here, I'd like to get some help for a doubt I have:
I have two bunches of files in two differents directories, which have the same names (the files, I mean), I want to copy only the creation attributes, nothing else, how I can do that without changing any of the other attributes.
Thanks in advance
I'm new here, I'd like to get some help for a doubt I have:
I have two bunches of files in two differents directories, which have the same names (the files, I mean), I want to copy only the creation attributes, nothing else, how I can do that without changing any of the other attributes.
Thanks in advance
Do you mean creation dates and times?
You can set the file comments to the creation dates and times, copy the comments file to the target folder and in the target folder set the creation dates and times to those in the comments.
You can set the file comments to the creation dates and times, copy the comments file to the target folder and in the target folder set the creation dates and times to those in the comments.
- Select the files in the source
- Select menu option Files/Change attributes
- Enable option Change plugin attributes and enter:
Plugin: tc
Property: comment
Value: [=tc.creationdate] - Click OK button
- Copy hidden file named "descript.ion" to target
- Go to target
- Select menu option Files/Change attributes
- Enable option Change plugin attributes and enter:
Plugin: tc
Property: creationdate
Value: [=tc.comment] - Click OK button
That's because [=tc.creationdate] does not include seconds. Just use the format modifiers to include them.ykeyke wrote:Just a little notice, this didn't copy the seconds, only hours and minutes beside date obviously, but at least it isn't too important.
Not without using automation software.ykeyke wrote:Ah, something else, this process can it be automatized ?
ykeyke wrote: I'm afraid not to be familiarized with this program, so don't know how to proceed with "format modifiers", can you point me to the right direction ??
[=tc.creationdate.s] will generate seconds only.[=pluginname.fieldname.unit]
Insert field named "fieldname" from content plugin named "pluginname". "unit" may be an optional unit (if supported by that field), or a field formatter like YMD for date fields.
[=tc.creationdate.YMD hms] generates date/time in "YMD hms" format including seconds.
You can also use the + button in the change attributes dialog and select one of the predefined formats.
Hi again,
I know this is a bit old post, but as the doubt is the sequel of the same, I'm posting here, sorry for any inconvenience, and feel free to let me know if against rules...
Well, until now I was copying the creation date time using the above, but this has the inconvenience of the need of having as much comments files (the bridge between old and new files) as folders and sub-folders I have. So my issue is, is there any way to create a unique comment file that contains information on files in folder and in sub-folders, obviously respecting locations??? And how I do the reverse process, and import data in the comment file to new files in folder and sub-folders (knowing that sometimes, I will not have the same directory structure!!!).
Thanks in advance.
I know this is a bit old post, but as the doubt is the sequel of the same, I'm posting here, sorry for any inconvenience, and feel free to let me know if against rules...
Well, until now I was copying the creation date time using the above, but this has the inconvenience of the need of having as much comments files (the bridge between old and new files) as folders and sub-folders I have. So my issue is, is there any way to create a unique comment file that contains information on files in folder and in sub-folders, obviously respecting locations??? And how I do the reverse process, and import data in the comment file to new files in folder and sub-folders (knowing that sometimes, I will not have the same directory structure!!!).
Thanks in advance.