🆘 Tips CLI Help File

This document describes how to use tips.sh — a command-line utility for storing and managing tips or notes in a structured format.

📦 Basic Structure

Each record contains the following 12 fields, separated by <>:

  1. ID
  2. Date
  3. Category
  4. SubCategory
  5. SubSubCategory
  6. Title
  7. Description
  8. More Info
  9. Comments
  10. Attachment Path
  11. Link
  12. Tags

⚙️ Usage Syntax

./tips.sh [OPTIONS] [ARGUMENT]

📘 Options Reference

OptionFunctionUsage Example
-aAdd a new tip record./tips.sh -a
-uUpdate a record by ID./tips.sh -u
-s <term>Search all fields./tips.sh -s docker
-f <regex>Fuzzy search using regex./tips.sh -f "^curl.*error"
-T <title>Search title field only./tips.sh -T ssh
-C <category>Filter by category./tips.sh -C Linux
-g <tag>Filter by tag./tips.sh -g terminal
-t <n>Tail last N records./tips.sh -t 5
-SShow summary view./tips.sh -S
-G <term>Search summary view./tips.sh -G cron
-vValidate all records./tips.sh -v
-JConvert CSV to JSON./tips.sh -J
-YConvert CSV to YAML./tips.sh -Y
-eEdit CSV file./tips.sh -e
-EEdit attachment by ID./tips.sh -E

📂 Data File

💡 Sample Workflow

📎 Notes