Skip to main content

Change file timestamps with a dialog window.

Project description

License: GPL v3

Change files timestamp with a dialog window.

Gui window

GUI automatically fallback to a text interface when display is not available.

Text interface

Installation

Install with a single command from PyPi.

pip install touch-timestamp
touch-timestamp --integrate-to-system  # bash completion wizzard

Docs

Methods to set the date

When invoked with file paths, you choose whether to set their modification times

  • to the specified time
  • to the date from the Exif through jhead
  • to a name auto-detected from the file name, ex: IMG_20240101_010053.jpg2024-01-01 01:00:53
  • to a relative time
  • to the specific time, set for a file, then shifts all the other relative to this

Gui window

Full help

Everything can be achieved via CLI flag. See the --help.

Let's take fetching the time from the file name as an example.

Should you end up with files that keep the date in the file name, use the from-name command. In the help, you see that without setting format, it triggers an automatic detection of the time and date format.

$ touch-timestamp from-name 20240828_160619.heic
Changed 2001-01-01T12:00:00  2024-08-28T16:06:19: 20240828_160619.heic

Krusader user action

To change the file timestamps easily from Krusader, import this user action: touch-timestamp subcommand %aList("Selected")%

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

touch_timestamp-0.4.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

touch_timestamp-0.4.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file touch_timestamp-0.4.0.tar.gz.

File metadata

  • Download URL: touch_timestamp-0.4.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.10

File hashes

Hashes for touch_timestamp-0.4.0.tar.gz
Algorithm Hash digest
SHA256 5806941007d02539f011d7202fdcc958a7c40baa5e6d0f0f811c7079ea96e8a5
MD5 a806bc8e886aa0a7fa635e877f876ed2
BLAKE2b-256 623bcc5f19c9164df93a101ff36aae520755bc6ea72b32f1045a041c4197cdeb

See more details on using hashes here.

File details

Details for the file touch_timestamp-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for touch_timestamp-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06e09039bcb350c0aa0f57867ee3ec996146d22f9f55f46e61cf72c4966fcd07
MD5 3c3fe64ca30a7b2aa629840dd793164e
BLAKE2b-256 deaa84fdd2a5212d1f71627de7d5c3d0f96a6ace85f0cb9fa263229bb7f2d115

See more details on using hashes here.

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