Skip to main content

A tool for fixing inconsistent timestamp metadata (atime, ctime, and mtime).

Project description

Mtime Fixer

Mtime Fixer is a tool for fixing inconsistent timestamp metadata (atime, ctime, and mtime). Sometimes timestamp metadata of folders are inconsistent with files inside them. Mtime Fixer is a program for setting mtime (modification time) timestamp of folders according to files inside them. Additionally, it can set ctime (change time) metadata as the same as mtime as well (with root privileges).

Requirements

Python >= 3.8 is required. (CPython and PyPy are both supported)

Installation

Mtime Fixer can be either installed directly via pip:

pip install mtime-fixer

Or it can be installed from the source:

git clone https://github.com/simsekhalit/mtime-fixer.git
python3 -m pip install ./mtime-fixer

Manual

$ python3 -m mtime_fixer --help
usage: mtime-fixer [-h] [-c] [-f] PATH [PATH ...]

A tool for fixing inconsistent timestamp metadata (atime, ctime, and mtime).

positional arguments:
  PATH

optional arguments:
  -h, --help        show this help message and exit
  -c, --fix-ctimes  change ctimes as well (requires root priviledges)
  -f, --fix-files   change timestamps of files as well

For more information: https://github.com/simsekhalit/mtime-fixer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mtime-fixer-1.0.0.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

mtime_fixer-1.0.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page