file-operations

Manage Linux files and directories with search, batch operations, and permissions.

50|13|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/chaterm/terminal-skills --skill file-operations-chaterm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-operations
Source: https://github.com/chaterm/terminal-skills/tree/main/linux/file-operations
Command: npx skills add https://github.com/chaterm/terminal-skills --skill file-operations-chaterm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies and accelerates common Linux file and directory management tasks, from searching and copying to permission management and batch operations, reducing manual effort and potential errors.

Core Features & Use Cases

  • Efficient File Searching: Quickly locate files by name, type, size, or modification time using find and locate.
  • Streamlined Operations: Perform batch copy, move, rename, and delete operations on multiple files or directories.
  • Permission Control: Easily view and modify file and directory permissions and ownership.
  • Use Case: Clean up old log files by finding and deleting all .log files older than 30 days in a specific directory.

Quick Start

Find all files ending with '.log' in the '/var/log' directory that were modified more than 7 days ago.

Frequently Asked Questions about file-operations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find and delete old log files in a Linux directory?

You can find and delete old log files by using the `find` command with modification time filters and delete actions. This approach supports batch cleanup of specific file types older than 30 days within target directories.

What is the best way to perform batch file operations in Linux?

The best way to perform batch file operations in Linux is using command-line utilities for copying, moving, renaming, or deleting multiple files simultaneously. This streamlines directory operations and reduces manual effort across large file sets.

How do I modify file permissions and ownership in a Linux environment?

You modify file permissions and ownership in a Linux environment by applying specific system administration commands. These commands allow you to easily view and adjust access controls for files and directories to maintain system security.

Can I search for files by size or modification time using the find command?

Yes, you can search for files by size or modification time using the `find` command. It enables efficient file searching within Linux environments by filtering results based on name, type, size, or exact modification dates.

Does Linux file management support batch cleanup of old files?

Linux file management fully supports batch cleanup of old files by combining searching and deletion commands. This allows system administrators to automate the removal of outdated data across specific directories without manual intervention.