Tuesday, November 6, 2012

How to Organize Developer Folder Structure

Requirement:
Easy to access Folder Structure on Developer PC.

Solution:
Create it! :)
I've meet the problem when I try to organize folder structure on my PC. 
So my needs from a developer point of view are:
  • Easy to access
  • Simple path
  • Non white spaces in path
  • Arrange projects by clients
  • Arrange documents by clients
  • Group installed software
  • Workspace for each client
My solution looks like:
 

And Windows batch file for creating this structure:
@echo off set CURRENT_DIR=D: echo Selected folder: %CURRENT_DIR% md %CURRENT_DIR%\docs\work\clients md %CURRENT_DIR%\docs\personal md %CURRENT_DIR%\docs\books\java md %CURRENT_DIR%\docs\books\linux md %CURRENT_DIR%\docs\books\documentum md %CURRENT_DIR%\projects\personal md %CURRENT_DIR%\projects\work\clients md %CURRENT_DIR%\workspace\work\clients md %CURRENT_DIR%\workspace\personal md %CURRENT_DIR%\install md %CURRENT_DIR%\installed\java md %CURRENT_DIR%\installed\eclipse md %CURRENT_DIR%\installed\apache\maven md %CURRENT_DIR%\installed\apache\ant md %CURRENT_DIR%\installed\apache\tomcat md %CURRENT_DIR%\installed\apache\httpd md %CURRENT_DIR%\media\music md %CURRENT_DIR%\media\pictures md %CURRENT_DIR%\media\videos\movies
What about your folder structure %username% ? 
Fell free to show it ;)