Skip to main content

Tracking file changes according to the record file.

Project description

FileTrack

CHANGELOG

FileTrack is a filetracking cli tool that can track file changes in a certain folder.

Get Started

pip install filetrack  # Install

filetrack  # Run FileTrack according `filetrack.toml` in current folder.
filetrack -h/--help  # Show help message.
filetrack -v/--version  # Show version.
filetrack -c/--config $config_file  # Run FileTrack according to the config file.

Installation

# pip
pip install --user filetrack  # install filetrack
pip install --upgrade filetrack # upgrade filetrack
pip uninstall filetrack  # uninstall filetrack

# pipx (recommanded)
pipx install filetrack  # install filetrack through pipx
pipx upgrade filetrack  # upgrade filetrack through pipx
pipx uninstall filetrack  # uninstall filetrack through pipx

Config File

  • Config file example: [filetrack.toml]

Knowledge Base

  • Trackings: File hashes to track changes.
  • TrackFile: The output file to hold file trackings.
  • TrackFile Format: Can choose from TOML or JSON
  • Target File Exts: Files that you wanna track with specific extensions. Leave it empty [] to track all files.
  • Old TrackFile: Autodetect and parse old TrackFile to compared with.
  • Hahs Mode:
    • CRC32: Balance between speed and reliability. Fast and built-in in Python.
    • MD5: Slow but more reliable than CRC32. Build-in in Python.
    • XXHASH: Fast and reliable. Requires external xxHash library.
    • NAME: No hashing, just track file names. Useful when only file names matter.
    • PATH: No hashing, just track file paths. Fastest but least reliable.
    • MTIME: Track file modification time. Fast but can be spoofed.

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

filetrack-0.1.6.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

filetrack-0.1.6-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file filetrack-0.1.6.tar.gz.

File metadata

  • Download URL: filetrack-0.1.6.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for filetrack-0.1.6.tar.gz
Algorithm Hash digest
SHA256 4827e43830e220171af28d11319ca2384cfd67ba2b68350dead5ce89fe61efd8
MD5 f697790896697859f7ad62fdf8c4c952
BLAKE2b-256 52049e16bb60117ce518b9a29d22da97ef913f0e4ee4563364ed6cb4a32418b2

See more details on using hashes here.

File details

Details for the file filetrack-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: filetrack-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for filetrack-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 17c625cac2df1028819640936980f50fb8d872df750fcea1a94f497336f37739
MD5 452de42375142fd46f18f5de32ce5673
BLAKE2b-256 3f12e8c01daaeeb19cfbc9d7f50a43e451b6b0ddc892c81417d23e1819cf1d4f

See more details on using hashes here.

Supported by

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