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.5.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.5-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: filetrack-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 5ff16e37f5026dc51848db76cecfd767082d9fd3ed94908c8ee328c630d622fd
MD5 7b1a18aaabb41f21e1f770bca842a0c7
BLAKE2b-256 73ba90bd77cf624434ed45527cf42ab867574bb2a969260eeeafb609b14b48e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: filetrack-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e47260ed54f85f87c70f6037c52bac4bff60f771962cb1a6c1d1f1d5a1b6702b
MD5 3bce63e2475c8f3dbe0a2a2e0d5e9145
BLAKE2b-256 ab6562c9aae46746a49b49ab181fc41d74e95039a1bdf062a4679199c5e4554d

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