copy-folder-yashu

Copies directory trees while excluding all node_modules folders using robocopy on Windows.

9|3|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/steelan9199/wechat-publisher --skill copy-folder-yashu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: copy-folder-yashu
Source: https://github.com/steelan9199/wechat-publisher/tree/main/skills/copy-folder-yashu
Command: npx skills add https://github.com/steelan9199/wechat-publisher --skill copy-folder-yashu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the frustration of copying large project directories that contain heavy node_modules folders, which are often unnecessary for backups or transfers and significantly slow down the copy process.

Core Features & Use Cases

  • Intelligent Exclusion: Automatically detects and skips all node_modules directories regardless of their nesting level.
  • Preservation: Maintains the original folder structure and file integrity for all non-excluded content.
  • Use Case: When you need to back up a JavaScript project or move it to a different drive, this tool ensures you only copy the source code and configuration files, saving disk space and time.

Quick Start

Use the copy-folder-yashu skill to copy the project folder from the source path to the destination path while automatically skipping all node_modules directories.

Frequently Asked Questions about copy-folder-yashu

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

FAQPage Schema
How do I copy a folder while excluding node_modules?

To copy a folder while excluding node_modules, this Skill automates recursive directory copying and filters out all node_modules subdirectories regardless of their nesting level. It preserves the original folder structure and file integrity for all remaining content, saving disk space and time.

What is the best way to back up a JavaScript project without copying node_modules?

The best way to back up a JavaScript project without node_modules is using this Skill, which automatically detects and skips node_modules directories during the copy process. It ensures you only copy source code and configuration files to your destination path.

Does this folder copy method work on Windows?

Yes, this folder copy method works on Windows environments. It requires the robocopy utility to perform high-performance, incremental file transfers with specific exclusion flags for node_modules directories during project migration or local backup tasks.

How does robocopy handle excluding node_modules during a directory copy?

Robocopy handles excluding node_modules by applying specific exclusion flags during the recursive directory copy. This Skill leverages robocopy to perform high-performance, incremental file transfers while automatically filtering out node_modules subdirectories at any nesting level.

Can I use this to migrate a project to a different drive without node_modules?

Yes, you can use this Skill to migrate a project to a different drive without node_modules. It automates recursive copying of directory structures, skipping node_folders to ensure only source code and configuration files are transferred, saving disk space.

What are the limitations of using robocopy to exclude node_modules?

The limitations include being restricted to Windows environments, as the Skill requires the robocopy utility. It is specifically designed to exclude node_modules directories and may not filter other heavy directories unless additional exclusion parameters are manually configured.