skillfed

file-operations

file-operations covers essential Linux file system tasks: searching by name, type, size, or modification time; performing batch operations like rename and delete; and managing permissions and ownership. It includes practical scenarios for cleanup, finding recent changes, and bulk content replacement.

file-operations helps you search, locate, and manage Linux files using find, locate, and standard file commands.

AI-generated summary based on this skill's SKILL.md

50 12 Apache-2.0 updated by chaterm

Install

chaterm/terminal-skills/file-operations

CLI (skillfed)coming soon
git clone https://github.com/chaterm/terminal-skills
cp -r terminal-skills/linux/file-operations ~/.claude/skills/file-operations

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I search for files in file-operations?

file-operations enables you to search and locate files by name, type, size, or modification time using Linux command patterns. You can filter results by file attributes, find large files, locate recently modified content, and apply complex search criteria to narrow results across directory trees.

What batch operations does file-operations support?

file-operations handles batch operations on multiple files including copy, delete, and rename tasks. You can apply these operations to files matching specific patterns, perform recursive directory operations, and execute bulk content replacement or cleanup tasks across many files simultaneously.

How can file-operations help me change file permissions?

file-operations covers permission management using chmod to modify file access rights and chown to change file ownership. You can apply these changes recursively across directories, manage permissions for multiple files in batch operations, and organize access control efficiently.

Can file-operations copy directories with their permissions intact?

Yes, file-operations includes techniques for recursive directory copying that preserves permissions and metadata. You can copy entire directory structures while maintaining ownership and access rights, making it ideal for backup and migration scenarios.

How do I find files by size and date using file-operations?

file-operations lets you search files by size and modification time, helping you locate large files or recently modified content. You can combine size and date criteria to find temporary files for cleanup, identify recent changes, or audit file system activity.

What file comparison features does file-operations include?

file-operations supports viewing and comparing file contents and metadata. You can examine file attributes, compare two files to identify differences, and review metadata to understand file properties and relationships within your system.

SKILL.md

rendered from the published skill — quoted content, verbatim

File and Directory Operations

Overview

Linux file system operation skills, including file search, batch operations, permission management, etc.

File Search

find Command
# Search by name
find /path -name "*.log"
find /path -iname "*.LOG"           # Case insensitive

# Search by type
find /path -type f                  # Files
find /path -type d                  # Directories
find /path -type l                  # Symbolic links

# Search by time
find /path -mtime -7                # Modified within 7 days
find /path -mtime +30               # Modified more than 30 days ago
find /path -mmin -60                # Modified within 60 minutes

# Search by size
find /path -size +100M              # Larger than 100MB
find /path -size -1k                # Smaller than 1KB

# Combined conditions
find /path -name "*.log" -mtime +7 -size +10M
locate Command

```bash

Quick search (requires database update)

locate filename updatedb # Update database

Case

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 1 file
linux/file-operations/SKILL.md

Related skills

Tags

filesystem-navigation bulk-operations access-control file-discovery system-administration command-line-tools storage-management file-manipulation