
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
empty-folder-manager
Advanced tools
Interactive CLI tool for analyzing and removing empty folders from filesystem with .gitignore support and custom glob patterns
An interactive CLI tool for analyzing and removing empty folders from your filesystem efficiently and safely, with support for .gitignore files and custom glob patterns. Now includes a web UI for enhanced usability!
# Run CLI directly without installation
npx empty-folder-manager
# Run Web UI directly without installation
npx empty-folder-manager --ui
# Or install globally
npm install -g empty-folder-manager
# Install globally
npm install -g empty-folder-manager
# Run the CLI tool
empty-folder-manager
# Run the Web UI
empty-folder-manager --ui
# Clone or download the script
git clone https://github.com/your-username/empty-folder-manager.git
cd empty-folder-manager
# Make executable and run CLI
chmod +x remove-empty-folders.js
./remove-empty-folders.js
# Or run Web UI
node remove-empty-folders.js --ui
# Or with npm scripts
npm run ui
# Run with npx (no installation needed)
npx empty-folder-manager
# Follow the interactive prompts to:
# 1. Configure the path to analyze
# 2. Set up filtering options (optional)
# 3. Run analysis to find empty folders
# 4. Review results and remove folders
# Launch web UI directly
npx empty-folder-manager --ui
# Or use short form
npx empty-folder-manager -u
# Or via npm script
npm run ui
# The web interface will open at http://localhost:3000
# Start CLI normally
npx empty-folder-manager
# Then select option 7 "Launch Web UI" from the menu
# The CLI will automatically install dependencies and launch the web interface.
# After closing the Web UI (e.g., with Ctrl+C in its terminal output), you will be returned to the CLI menu.
# Show help
empty-folder-manager --help
empty-folder-manager -h
# Launch web UI
empty-folder-manager --ui
empty-folder-manager -u
# Run interactive CLI (default)
empty-folder-manager
# Start CLI interface
npm start
# Launch web UI
npm run ui
npm run web
# Install and run locally
npm install
npm start
node_modules/ # Ignore node_modules directories
*.log # Ignore all .log files
.git/ # Ignore .git directories
build/ # Ignore build directories
temp* # Ignore anything starting with "temp"
!important.log # Don't ignore important.log (negation)
Choose the right speed for your system and needs:
# Interactive CLI with menu
npx empty-folder-manager
# The tool will guide you through:
# 1. Configure Path: Set the directory you want to analyze
# 2. Configure Speed: Choose your preferred processing speed
# 3. Configure Filters: Set up .gitignore support and custom patterns
# 4. Run Analysis: Scan for empty folders with intelligent filtering
# 5. Show Stats: View analysis results and filtering statistics
# 6. Remove Folders: Choose dry-run or actual removal
# 7. Launch Web UI: Switch to web interface
# 8. Exit: Quit the application
# Launch web UI
npx empty-folder-manager --ui
# Features available in web interface:
# - Visual configuration forms
# - Real-time progress tracking
# - Interactive results display
# - Drag-and-drop path selection (where supported)
# - Persistent browser-based settings
The tool creates configuration files in the directory where you run it:
.empty-folders-config.json: Stores your configured path, speed settings, and filter preferences.analysis/: Directory containing analysis resultsanalysis-{hash}.json: Analysis data for each configured path including filtering statistics╔══════════════════════════════════════════════════════════════╗
║ 🗂️ Empty Folder Manager 🗂️ ║
║ ║
║ Clean up your filesystem efficiently! 🚀 ║
╚══════════════════════════════════════════════════════════════╝
📋 Available Options:
1️⃣ Configure Path - Set the directory to analyze
2️⃣ Configure Speed - Adjust processing speed
3️⃣ Configure Filters - Set up .gitignore and custom patterns
4️⃣ Run Analysis - Find all empty folders
5️⃣ Show Stats - Display analysis results
6️⃣ Remove Folders - Clean up empty folders
7️⃣ Launch Web UI - Open web interface
8️⃣ Exit - Quit the application
📁 Current Path: /home/user/Documents
⚡ Current Speed: 🐢 Normal (Balanced)
🔍 GitIgnore: ✅ Enabled
🎯 Custom Patterns: 3 pattern(s)
$ npx empty-folder-manager --ui
🚀 Launching Empty Folder Manager Web UI...
📦 Installing web UI dependencies...
✅ Dependencies installed successfully!
🌐 Starting web server...
🗂️ Empty Folder Manager Web UI running on http://localhost:3000
📁 Open your browser and navigate to the URL above to get started!
# CLI with automatic .gitignore support
npx empty-folder-manager
# Web UI for visual project cleanup
npx empty-folder-manager --ui
# CLI for quick system maintenance
npx empty-folder-manager
# Web UI for detailed system analysis
npx empty-folder-manager --ui
# CLI for automated backup cleanup
npx empty-folder-manager
# Web UI for interactive backup management
npx empty-folder-manager --ui
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - feel free to use and modify as needed!
If you encounter any issues or have questions:
Made with ❤️ for developers who love clean filesystems!
FAQs
Interactive CLI tool for analyzing and removing empty folders from filesystem with .gitignore support and custom glob patterns
The npm package empty-folder-manager receives a total of 0 weekly downloads. As such, empty-folder-manager popularity was classified as not popular.
We found that empty-folder-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.