🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub✦ BytesAgain

Copy

by @bytesagain-lab

Copy operations reference — file duplication, rsync patterns, CoW, buffer strategies, and cross-platform sync. Use when duplicating files, syncing directorie...

Versionv1.0.0
Downloads434
Installs1
TERMINAL
clawhub install copy

📖 About This Skill


name: "copy" version: "1.0.0" description: "Copy operations reference — file duplication, rsync patterns, CoW, buffer strategies, and cross-platform sync. Use when duplicating files, syncing directories, or implementing copy-on-write." author: "BytesAgain" homepage: "https://bytesagain.com" source: "https://github.com/bytesagain/ai-skills" tags: [copy, file, rsync, sync, duplicate, backup, devtools] category: "devtools"

Copy — File & Data Copy Operations Reference

Quick-reference skill for file copy strategies, rsync patterns, copy-on-write, and cross-platform synchronization.

When to Use

  • Duplicating files or directory trees with specific filters
  • Setting up rsync-based backups or mirrors
  • Understanding copy-on-write (CoW) behavior
  • Implementing efficient copy strategies for large datasets
  • Troubleshooting copy failures and permission issues
  • Commands

    intro

    scripts/script.sh intro
    

    Overview of copy operations — types, semantics, and platform differences.

    rsync

    scripts/script.sh rsync
    

    Rsync patterns — common flags, partial transfers, and include/exclude rules.

    cow

    scripts/script.sh cow
    

    Copy-on-Write (CoW) — reflinks, filesystem support, and when to use.

    patterns

    scripts/script.sh patterns
    

    Common copy patterns — mirroring, incremental, differential, snapshot.

    filters

    scripts/script.sh filters
    

    File filtering techniques — by extension, date, size, and gitignore integration.

    performance

    scripts/script.sh performance
    

    Performance optimization — buffer sizes, parallel copy, and I/O tuning.

    errors

    scripts/script.sh errors
    

    Common copy errors, permissions issues, and troubleshooting guide.

    checklist

    scripts/script.sh checklist
    

    Pre-copy and post-copy verification checklist.

    help

    scripts/script.sh help
    

    version

    scripts/script.sh version
    

    Configuration

    | Variable | Description | |----------|-------------| | COPY_DIR | Data directory (default: ~/.copy/) |


    *Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*

    ⚡ When to Use

    TriggerAction
    - Setting up rsync-based backups or mirrors
    - Understanding copy-on-write (CoW) behavior
    - Implementing efficient copy strategies for large datasets
    - Troubleshooting copy failures and permission issues

    ⚙️ Configuration

    | Variable | Description | |----------|-------------| | COPY_DIR | Data directory (default: ~/.copy/) |


    *Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*