Recursive Subfolder Sorting
Recursive Subfolder Sorting allows Sortio to scan and organize files within nested directory structures, processing files from subfolders while respecting exclusion patterns for system and project folders.
On This Page
What is Recursive Subfolder Sorting?
Recursive Subfolder Sorting extends Sortio's organization capabilities to handle complex, nested folder structures. Instead of sorting only files in a single folder, you can now sort files across an entire directory tree. This is especially useful for project folders, archive directories, and any situation where files are scattered across multiple levels of subfolders. Intelligent exclusion patterns automatically skip system folders, version control directories, and dependency folders.
How It Works
When you enable the "Include subfolders" toggle, Sortio recursively scans all nested directories within your selected folder. Before sorting begins, you'll see a preview of how many files were found. You can configure exclusion patterns to skip folders like node_modules, .git, __pycache__, and other directories you don't want to process. Files from subfolders are moved to their new destinations while maintaining proper path handling. A file limit ensures performance remains optimal even for large directory structures.
Key Capabilities
- Scan nested directories to any depth
- Preview file count before sorting begins
- Configurable exclusion patterns for folders to skip
- Default exclusions for common system folders (.git, node_modules, etc.)
- Proper path handling for files from subdirectories
- Performance-optimized with configurable file limits
- Works with all sorting methods and prompts
Getting Started
Select a folder containing nested subfolders
Toggle "Include subfolders" to enable recursive scanning
Review the file count preview to ensure it matches expectations
Add any custom exclusion patterns for folders to skip
Enter your sorting prompt as usual
Preview and apply the sort—files from all levels will be organized
Use Cases
Project Cleanup
Organize scattered files across a project directory while skipping node_modules, .git, and build folders
Archive Organization
Sort years of accumulated files in nested archive folders into a clean, flat structure
Download Consolidation
Process a Downloads folder with subfolders from extracted archives
Photo Libraries
Organize photos scattered across date-based subfolder structures
Document Migration
Reorganize legacy folder structures into a new, cleaner hierarchy
Configuration Options
Include Subfolders Toggle
Enable or disable recursive scanning of nested directories
Exclusion Patterns
Specify folder names or patterns to skip during scanning (e.g., node_modules, .git, __pycache__)
File Limit
Maximum number of files to process in a single sort operation for optimal performance
Default Exclusions
Pre-configured patterns for common system and development folders that are excluded by default
Best Practices
- Start with a preview to verify the file count is reasonable
- Add exclusion patterns for any large folders you don't want processed
- Use specific exclusions for development projects (node_modules, vendor, .git)
- Consider sorting smaller sections first when dealing with very large directory trees
- Review the sorting preview carefully when processing files from multiple folder levels
- Back up important nested structures before major reorganizations
Frequently Asked Questions
What folders are excluded by default?
Sortio automatically excludes common system and development folders including: .git, node_modules, __pycache__, .DS_Store, .Spotlight-V100, .Trashes, vendor, and build directories. You can view and modify these exclusions in the settings.
Is there a limit to how many files can be sorted?
For optimal performance, recursive sorting has a file limit (typically 1000 files). This ensures sorting completes quickly and the preview remains manageable. For larger directories, consider sorting in sections or adding exclusion patterns to reduce the file count.
Will files from subfolders lose their original location information?
Sortio's activity logging records the original path of every file moved, so you can always see where files came from. Additionally, the backup feature preserves your original folder structure before any changes are made.
Can I sort subfolders while keeping some folder structure?
Yes. Your sorting prompt can instruct Sortio to maintain or create folder hierarchies. For example, "Organize files by type, keeping project subfolders intact" will create a structure that respects your original organization while grouping by file type.
Related Glossary Terms
Try Recursive Subfolder Sorting Today
Experience the power of Recursive Subfolder Sorting and transform how you organize your files with Sortio.
Download Sortio Free