Usage
rs-mahito provides several commands for cleaning metadata from files and directories.
Basic Usage
rs-mahito <command> [options] <path>Global Options
| Option | Description |
|---|---|
--dry-run | Preview changes without applying them |
--verbose | Show detailed output |
--yes | Skip confirmation prompts |
--admin | Run with administrator privileges |
Examples
Clean a Single File
# Basic usage
rs-mahito file document.pdf
# With dry run to preview changes
rs-mahito file --dry-run document.pdf
# With verbose output
rs-mahito file --verbose document.pdfClean a Directory
# Clean all files in a directory (non-recursive)
rs-mahito dir ./downloads
# Clean with confirmation skip
rs-mahito dir --yes ./downloadsRecursive Cleaning
# Clean all files recursively
rs-mahito recursive ./project
# Dry run recursive clean
rs-mahito recursive --dry-run ./projectView File Info
# Show metadata information about a file
rs-mahito info document.pdfWhat Gets Cleaned
| Metadata Type | Description |
|---|---|
| Zone.Identifier | Alternate data stream marking files as downloaded |
| Timestamps | Created, modified, and accessed times |
| File Owner | NTFS file ownership (SID) |
| Office Properties | Author, title, comments in docx/xlsx/pptx |
