Advanced File Operations
tm_filesManage remote files with recursive operations, content search, diff comparison, monitoring, and backups over SSH.
Instructions
Advanced file operations on remote hosts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Permission mode (recursive_ops/chmod). | 755 |
| group | No | Group (recursive_ops/chown). | |
| host1 | No | First host (diff_compare). | |
| host2 | No | Second host (diff_compare). | |
| owner | No | Owner (recursive_ops/chown). | |
| action | Yes | Action: 'recursive_ops', 'content_search', 'watch', 'diff_compare', 'backup' | |
| source | No | Source path (recursive_ops). | |
| pattern | No | Search pattern (content_search). | |
| duration | No | Monitor duration secs (watch). | |
| password | No | SSH password. | |
| username | No | SSH username. | |
| file_path | No | File path to compare (diff_compare). | |
| operation | No | Operation type: copy, move, delete, list, chmod, chown (recursive_ops). | |
| recursive | No | Recursive search (content_search). | |
| backup_dest | No | Backup destination (backup). | |
| compression | No | Enable compression (backup). | |
| destination | No | Destination path (recursive_ops/copy/move). | |
| incremental | No | Incremental backup (backup). | |
| max_results | No | Max results (content_search). | |
| remote_host | No | Remote host. | |
| watch_paths | No | Paths to monitor (watch). | |
| backup_paths | No | Paths to backup (backup). | |
| search_paths | No | Directories to search (content_search). | |
| identity_file | No | SSH identity file path. | |
| case_sensitive | No | Case-sensitive (content_search). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||