Skip to main content

A simple CLI to handle your files

Project description

filesnap

filesnap is a command-line tool for managing files and directories.

Commands

filesnap scan

Scans all the files in the path.

Argument Description Default
path Path to scan Current directory
Option Alias Description
--recursive -r Recursive search.
--pretty -p Pretty print the output in a table.
--exclude Exclude files/directories from scanning.
--ext -e Scan only files with these extensions.

filesnap count

Counts all the files by extension in the path selected.

Argument Description Default
path Path to count Current directory
Option Alias Description
--recursive -r Recursive search.
--exclude Exclude files/directories from counting.

filesnap clean

Cleans the content of a path.

Argument Description
path Path to clean
Option Alias Description
--recursive -r Recursive cleaning.
--contain -c Clean only files containing this string.
--ext -e Clean only files with these extensions.
--exclude Exclude files/directories from cleaning.
--force -f Force deletion without confirmation.
--dry-run --dry Simulate cleaning without deleting files.

filesnap export

Exports the filenames to a file.

Argument Description
path Path to scan for filenames
Option Alias Description
--type -t The type of file to export to (e.g., txt, csv, json).
--recursive -r Recursive scanning.
--output -o The output file name.
--format -f The format of the output.
--column -c The column to export (defaults to file_name).

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

filesnap-0.1.2.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

filesnap-0.1.2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file filesnap-0.1.2.tar.gz.

File metadata

  • Download URL: filesnap-0.1.2.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for filesnap-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2616bebfd6d1a16a5ad229742a676877394e3f39f490702f3854a4cef67571d7
MD5 0eccd3f7c8090634a9aef079ed1841bc
BLAKE2b-256 23ddf30f59dab0447016d889b10c294e5b24ee7a30d9476aa56cf91399085aa8

See more details on using hashes here.

Provenance

The following attestation bundles were made for filesnap-0.1.2.tar.gz:

Publisher: python-publish.yml on jesusjsg/filesnap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file filesnap-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: filesnap-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for filesnap-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 755a74693bc3fcf98b9d59d14998ba745e37b1b61e1356fa097170655ecd0f02
MD5 e74544c7668c1a8ca5e3a06536eca01e
BLAKE2b-256 0613294ddd57878e3d4de9ae24d8af1c57de93301dd617b9b4e0d445adcc7faa

See more details on using hashes here.

Provenance

The following attestation bundles were made for filesnap-0.1.2-py3-none-any.whl:

Publisher: python-publish.yml on jesusjsg/filesnap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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