File Remover

Interactive interface for safely removing files and directories

LLA File Remover Plugin

Interactive removal of files and directories with confirmations.

Features

  • Multi-select interface
  • Works in current or specified directories
  • Confirmation prompts and error handling
  • Recursive directory removal
  • Colored output and interactive menus

Configuration

Config file: ~/.config/lla/file_remover/config.toml

[colors]
success = "bright_green"
info = "bright_blue"
error = "bright_red"
path = "bright_yellow"

Usage

Basic Operations

# Remove files/directories from current directory
lla plugin --name file_remover --action remove
 
# Remove files/directories from specified directory
lla plugin --name file_remover --action remove --args /path/to/directory
 
# Show help information
lla plugin --name file_remover --action help

Common Workflows

1. Removing Files from Current Directory

# In target directory
cd /path/to/directory
lla plugin --name file_remover --action remove
# Select files to remove using space, confirm with enter

2. Removing Files from Specific Directory

# Remove files from a specific directory without changing location
lla plugin --name file_remover --action remove --args /path/to/directory
# Select files to remove using space, confirm with enter

Display Format

─────────────────────────────────────
 File Remover
─────────────────────────────────────
 Select items to remove:
 file1.txt
 directory1
 file2.rs
─────────────────────────────────────
 Use Space to select, Enter to confirm
─────────────────────────────────────