← 返回
未分类 中文

Macos Toolkit

macOS command line tool for developers – The ultimate tool to manage your Mac. It provides a huge mac cli, shell, bash, cli, command-line-tool, linux.
macOS 命令行工具,面向开发者——管理 Mac 的终极工具,提供丰富的 CLI、Shell、Bash 及 Linux 功能。
ckchzh ckchzh 来源
未分类 clawhub v1.0.0 1 版本 99793 Key: 无需
★ 1
Stars
📥 462
下载
💾 7
安装
1
版本
#latest

概述

macOS Toolkit

Macos Toolkit v2.0.0 — a utility toolkit for managing, analyzing, converting, and processing data from the command line. Supports run, check, convert, analyze, generate, preview, batch, compare, export, config, status, and report operations — all tracked with timestamped entries stored locally.

Commands

Run scripts/script.sh [args] to use.

CommandDescription
----------------------
run Record a run entry. Without args, shows the 20 most recent run entries.
check Record a check entry. Without args, shows recent check entries.
convert Record a conversion entry. Without args, shows recent convert entries.
analyze Record an analysis entry. Without args, shows recent analyze entries.
generate Record a generation entry. Without args, shows recent generate entries.
preview Record a preview entry. Without args, shows recent preview entries.
batch Record a batch processing entry. Without args, shows recent batch entries.
compare Record a comparison entry. Without args, shows recent compare entries.
export Record an export entry. Without args, shows recent export entries.
config Record a configuration entry. Without args, shows recent config entries.
status Record a status entry. Without args, shows recent status entries.
report Record a report entry. Without args, shows recent report entries.
statsShow summary statistics across all entry types (counts, data size).
search Search all log files for a term (case-insensitive).
recentShow the 20 most recent entries from the activity history.
helpShow help message with all available commands.
versionShow version string (macos-toolkit v2.0.0).

Data Storage

All data is stored in ~/.local/share/macos-toolkit/:

  • Each command type writes to its own .log file (e.g., run.log, check.log, convert.log)
  • Entries are timestamped in YYYY-MM-DD HH:MM| format
  • A unified history.log tracks all actions across command types
  • Export files are written to the same directory as export.json, export.csv, or export.txt

Requirements

  • Bash 4+ with set -euo pipefail
  • Standard Unix utilities (date, wc, du, tail, grep, sed, cat)
  • No external dependencies — works out of the box on Linux and macOS

When to Use

  1. System checks and diagnostics — use check and analyze to record system health checks, diagnostic results, and analysis findings on your Mac
  2. File conversion tracking — log convert operations when batch-converting file formats, encoding, or data transformations
  3. Configuration management — use config to track system configuration changes and status to record current system states for auditing
  4. Batch processing workflows — record batch and generate entries to document automated processing pipelines and their outputs
  5. Reporting and export — use report to log generated reports and export accumulated data to JSON, CSV, or TXT for sharing or archival

Examples

# Record a system check
macos-toolkit check "Homebrew packages up to date, 142 installed"

# Log a file conversion operation
macos-toolkit convert "Converted 50 HEIC photos to JPEG format"

# Analyze disk usage
macos-toolkit analyze "SSD: 234GB used / 500GB total, 47% capacity"

# Record a batch operation
macos-toolkit batch "Resized 200 images to 1080p for web deployment"

# Search across all entries
macos-toolkit search "disk"

# Export all data as JSON
macos-toolkit export json

# View summary statistics
macos-toolkit stats

Output

All commands print results to stdout. Each recording command confirms the save and shows the total entry count for that category. Redirect output to a file with:

macos-toolkit stats > report.txt

Configuration

Set the DATA_DIR inside the script or modify the default path ~/.local/share/macos-toolkit/ to change where data is stored.


Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 19:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 327,205
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,803
professional

Legal Advisor

ckchzh
生成劳动、消费、租赁及交通纠纷法律模板,适用于撰写纠纷信函、审查租户权利、准备索赔等。
★ 4 📥 4,101