Description
n8n File System Operations Custom Node
This is a custom n8n node for file system operations.
Features
- List files and folders in a specified directory with sorting support (by time, type, filename, etc.)
- Clean empty directories, including recursive cleaning and directory level compression
- Fix filenames that are incompatible with Windows file system
Installation
1. Navigate to n8n custom nodes directory
cd ~/.n8n/custom
2. Clone this repository
git clone https://github.com/yorkane/n8n-nodes-klib.git
3. Install dependencies
cd n8n-nodes-klib
pnpm install
4. Build the nodes
pnpm run build
Publishing to npm
1. Make sure you have an npm account and are logged in
npm login
2. Update the version in package.json if needed
npm version patch # or minor, or major
3. Build the package
pnpm run build
4. Publish to npm
npm publish --tag latest
Note: Make sure you have the correct npm registry configured and have the necessary permissions to publish the package.
rm -rf dist && pnpm build && docker restart n8n && npm publish --tag latest