fx-bin

Automate file counting, sizing, finding, filtering, replacing, backing up, and organizing via a unified CLI.

1|1|Updated Jul 27, 2019
One-click install
npx skills add https://github.com/frankyxhl/fx_bin --skill fx-bin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fx-bin
Source: https://github.com/frankyxhl/fx_bin/tree/main
Command: npx skills add https://github.com/frankyxhl/fx_bin --skill fx-bin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

fx-bin provides a single, unified CLI to perform a broad set of file operations, removing the need to juggle multiple tools and ad-hoc scripts, while emphasizing safety and consistency.

Core Features & Use Cases

  • Unified CLI: A single fx command with subcommands for counting, sizing, finding, filtering, replacing, backing up, and organizing files.
  • Safety & Reliability: Built-in safeguards, deterministic behavior, and test-driven quality to prevent data loss and ensure repeatable results.
  • Wide Coverage: Capabilities for file counting, size analysis, file finding, extension-based filtering, bulk text replacement, backups, Git root discovery, today workspace management, and date-based organization.
  • Use Case: In a large repository, you can count files by extension, identify large files, search for specific keywords, perform safe bulk replacements with backups, and organize results by date with minimal risk.

Quick Start

Install fx-bin via pip or Poetry, then run fx --help to explore available commands and examples.

Frequently Asked Questions about fx-bin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform bulk text replacement across files in a large repository safely?

A unified CLI automates safe bulk text replacement by creating backups before modifying content, ensuring deterministic operations and preventing data loss in large repositories.

What is the best way to count files by extension and analyze file sizes in a project root?

Counting files by extension and analyzing file sizes is best handled by a single CLI command that provides deterministic sizing and filtering capabilities specifically designed for local disks and project roots.

How do I organize files by date and manage daily workspaces without writing ad-hoc scripts?

Organizing files by date and managing daily workspaces is achieved through built-in CLI subcommands that replace ad-hoc scripts, providing repeatable file organization workflows.

Does fx-bin require any specific Python packaging tools to install and use?

Yes, fx-bin is packaged using Python Poetry, but you can install it via standard pip commands to access the unified file operation CLI without needing additional external dependencies.

Can I use a single CLI tool to find, filter, and back up files instead of juggling multiple scripts?

Yes, you can use a single-entry CLI to find, filter, and back up files, which removes the need to juggle multiple tools and ad-hoc scripts while emphasizing safety and consistency.