File and Folder Mover
detail.loadingPreview
This workflow moves files and folders from one location to another, creating the destination structure as needed.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow automates the process of moving files and folders from a source location to a destination location. It intelligently handles subfolder creation, ensuring that the directory structure in the destination mirrors the source. The workflow supports manual execution, webhook triggers, and can be initiated from other workflows.
Key Features
- Moves files and folders recursively.
- Creates destination subfolders if they don't exist.
- Supports manual execution with path configuration.
- Offers webhook trigger for automation.
- Can be triggered by other n8n workflows.
- Optional deletion of the source folder after moving.
How To Use
- Manual Execution: In the
Manual Startnode, specify thefrompath (source folder) and thetopath (destination folder). Subfolders can be indicated using '/'. Ensure other triggers are deactivated. - Webhook Trigger: Enable the
Webhooknode and configure it. Incoming requests must contain a JSON body withfromandtoattributes. - Trigger by Other Workflow: Enable the
Execute Workflow Triggernode. When initiating this workflow from another, ensurefrom-pathandto-pathare passed as parameters. - Optional Source Deletion: If you wish to delete the source folder after the move, enable and configure the
Delete from foldernode.
Apps Used
Workflow JSON
{
"id": "8d2d677e-6092-4f9a-ab47-c13e51cfbda5",
"name": "File and Folder Mover",
"nodes": 0,
"category": "File Management",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 8d2d677e-6092...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
DigitalOcean File Upload
Uploads files directly to DigitalOcean Spaces via a form.
File Management Automation
Automate file operations like listing, creating, reading, and writing files within your n8n environment.
AI File Sorter
Automatically sort files into subdirectories using AI suggestions.
FTP File Upload and Listing
Uploads a file to an FTP server and then lists files in a directory.
Sync New Files From Google Drive with Airtable
Automatically sync new files from Google Drive to Airtable and share them via email.
Password Protect PDF
Download a PDF, protect it with a password, and save it to Google Drive.