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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mtime-fixer-1.0.0.tar.gz
.
File metadata
- Download URL: mtime-fixer-1.0.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b5c740d044efcafb45edb96c5dedfbfa0007630ac31155da1f1fc693a9ab011 |
|
MD5 | ffb116a355469478b9e019405aec1b51 |
|
BLAKE2b-256 | 210244d1d589d0ff550fa8c388b1d6ca3b383307631cd15b3d035d8c6139bd6f |
Provenance
File details
Details for the file mtime_fixer-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: mtime_fixer-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd1df98c6f0487167e7607b35c381cece7ca79c6708af62bf73121211a6a4e77 |
|
MD5 | c7df9dd08d11bd5298239bc12509d9f9 |
|
BLAKE2b-256 | 01bac1a134a083e2023fc279f6fb68fcfaa5236fbf9c41028c4728aff742dcd1 |