|
H/PC Sensei Posts: | 1,169 |
Location: | Russia | Status: | |
| What if I have a lot of files copy of which is already present and I just want to copy their "properties" like dates and NTFS permissions? Is there an easier approach than copying files (which does not preserve creation date?)?
Edited by Alt Bass 2015-03-10 8:35 PM
|
|
|
|
Administrator H/PC Oracle Posts: | 17,989 |
Location: | United Kingdom | Status: | |
| Date preservation depends on how you copy them. If you copy via Explorer it loses them but if you do it via something that can access the MFT directly then you can.
RoboCopy with /DATS is probably the best you can hope for. As for just copying the meta data, no, I've not heard of that one and it would be very dangerous. |
|
|
|
H/PC Sensei Posts: | 1,169 |
Location: | Russia | Status: | |
| Quote C:Amie - 2015-03-11 11:50 AM
if you do it via something that can access the MFT directly then you can.
I want to argue that. Total Commander has an option "Copy NTFS permissions". Besides that I also use ExifTool to update file creation date with date from image metadata.
I am quite sure that they do not operate on MFT. |
|
|
|
Administrator H/PC Oracle Posts: | 17,989 |
Location: | United Kingdom | Status: | |
| Not sure if serious...
The attribution dates are written into the MFT Alt Bass. They don't go with the file, the file is agnostic to its meta data which lives in the disk journal; part of the MFT. |
|
|
|
H/PC Sensei Posts: | 1,169 |
Location: | Russia | Status: | |
| I know that, I am saying that neither TotalCommander nor Exiftool do not operate on MFT as such, they rather use some Win32 calls.
Of course one can do anything if there is access to MFT. I am saying that this access is not needed.
Edited by Alt Bass 2015-03-11 7:16 PM
|
|
|
|
H/PC Sensei Posts: | 1,169 |
Location: | Russia | Status: | |
| Quote /COPY:copyflag :: what to COPY for files (default is /COPYAT).
(copyflags : D=Data, A=Attributes, T=Timestamps).
(S=Security=NTFS ACLs, O=Owner info, U=aUditing info).
Quote /COPY:copyflag :: what to COPY for files (default is /COPYAT).
(copyflags : D=Data, A=Attributes, T=Timestamps).
(S=Security=NTFS ACLs, O=Owner info, U=aUditing info).
Ummmmm, looks like a solution for me! Thanks for mentioning it! Edited by Alt Bass 2015-03-11 7:21 PM
|
|
|
|
H/PC Sensei Posts: | 1,169 |
Location: | Russia | Status: | |
| Test for tag spilling.
P.S. Unclosed stroke tag does not spill to other posts.
P.P.S. Result of using code tag is confusing. Is it broken? I thought that code tag should screen any substitution and any other tag.
Edited by Alt Bass 2015-03-11 7:26 PM
|
|
|
|
Administrator H/PC Oracle Posts: | 17,989 |
Location: | United Kingdom | Status: | |
| Windows Explorer has its own set of calls and there are lower lever calls that are exposed out of the file system driver in the kernel that directly manipulate the MFT.
The algorithm on this board only filters code spill down to the end of the post,, which weirdly includes the signature because the board by default applies signatures per-post. I had to hack it out of the forum and I didn't modify the rest of the filtering, |
|
|
|
H/PC Sensei Posts: | 1,169 |
Location: | Russia | Status: | |
| But why does CODE tag screen anything not?
|
|
|