8000 Releases · andrzejQ/filedate · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: andrzejQ/filedate

v.2.3

02 Sep 06:21
Compare
Choose a tag to compare 8000
v.2.3 Pre-release
Pre-release
  • filedate v.2.3
    Added class FromMetadata: set file date based on its metadata.
    Poorly tested, but can be useful, for example, for saved attachments from e-mail.
    Dates from metadata from PDF, DOCX, ..., ODT, ... and many more - thanks to 'hachoir'.

  • pip install PyPDF2 hachoir
    required when FromMetadata in use.

from_file_name.py - ignore invalid time part

11 Aug 05:26
Compare
Choose a tag to compare

from_file_name.py - ignore invalid time part, more tests.

FromFileName - more cases 2; doctest

30 Mar 04:59
Compare
Choose a tag to compare
  1. FromFileName - more cases
  2. doctest
  3. .get_st() -> dict:
    Returns a dictionary containing original timestamp (Unix or Windows);
    float (not int) in Linux, quadword in Windows
    {'created': <timestamp>,... 'modified': <timestamp>, 'accessed': <timestamp>}

If after saving a new LastWriteTime, the LastAccessTime is set to the current time, there is probably a process in the background that reads the contents of the file, for example TortoiseGit for a file under git control. In this case doctest will show errors. (To stop TGitCache.exe open TortoiseGit Settings > Icon Overlays \ "None" \ [OK]).

0