Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

7-Zip on Windows will save the Date Created and Date Accessed when compressing a .zip file, however it does not do this for its native .7z format. Any Unix-based formats are ineligible. Are there any other formats out there that support these two fields?

share|improve this question
    
.7z is not a Windows native format... –  AthomSfere Oct 8 '13 at 2:26
1  
"however it [referring to the subject 7-Zip] does not do this for its [referring to 7-Zip again] native .7z format." I was referring to .7z being the native format of 7-Zip, like .rar is to WinRAR and .ace is to WinAce. –  NobleUplift Oct 8 '13 at 5:20

2 Answers 2

RAR supports storage of modification, creation, and last access times. There's no (legal) free version of the compressor, though.

share|improve this answer
    
Oh... that archive format. While we're on terrible proprietary formats, how about .ace? –  NobleUplift Oct 8 '13 at 5:18

Date Created, Modified and Accessed are not functions of file formats. Also, 7-Zip is not a Windows native application.

Regardless, these attributes are part of NTFS journaling.

You can add these attributes to Windows explorer easily for all folder / file types:

enter image description here

However, they are not always accurate or enabled.

On my machine, for example accessed journaling appears to be off. Right clicking and viewing properties of the a file, I see slightly different (and more accurate attributes)

enter image description here

I can also run a PowerShell command to get information

gci | LastAccessTime gives me:

enter image description here

It is just as accurate as the explorer view.

Instead, what needs to be done it ensure Windows has jorunaling enabled.

This can be enabled from an administrator command prompt with the command:

fsutil behavior set disablelastaccess 0 
share|improve this answer
    
I think you totally missed the point... –  jjlin Oct 8 '13 at 3:10
    
Doesn't answer the question. Most archive formats support Date Modified, but only one supports Date Created and Date Accessed (.zip by 7-Zip). OS X has a "Date Last Opened", which may be comparable to Date Accessed. –  NobleUplift Oct 8 '13 at 3:32
    
@jjlin how so? His question was misguided as time stamps are not a part of a format, they are a part of the File System. I directed him towards information on what is actually going on... Although I am running 3 hours of sleep in about 48 hours. –  AthomSfere Oct 8 '13 at 3:46
    
@NobleUplift .zip is not given any special level of access. In my screen shot, that .zip was created with Windows Zip, the .7z is 7zip. Both have the attributes. And neither has to do with the file / archive format. It is dependent on the file system. NTFS, HFS+, Ext3 and Ext4 (Probably Ext2) also support journaling. –  AthomSfere Oct 8 '13 at 4:35
    
No lol; I meant the files archived by Windows and 7-Zip, not the archives themselves. This is what I meant. –  NobleUplift Oct 8 '13 at 5:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.