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
- Navigate to n8n custom nodes directory
cd ~/.n8n/custom
git clone https://github.com/yorkane/n8n-nodes-klib.git
cd n8n-nodes-klib
pnpm install
pnpm run build
Publishing to npm
- Make sure you have an npm account and are logged in
npm login
- Update the version in package.json if needed
npm version patch
pnpm run build
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