Home > 1. PC Basics > 1.1 Folder Structure
1.1 General-Purpose Folder Structure for Data Files
-
Exercise Title: General-Purpose Folder Structure for Data Files
-
Abstract: To manage the many files used by these exercises and the products that are created, some sort of "standard" folder structure is required. In this exercise you will create a "basic" folder structure, consisting of the top levels only (2 or 3 levels within the main folder). During the exercises to follow, you will be asked to save files to folders in this structure. Feel free to add subfolders or change the folder names, however you wish.
-
Just make sure to use long filenames that uniquely specify your files (in your own invented system, if you wish). The smaller your folder structure, the more important long filenames become. There's a link just below to a helpful article
-
Preliminary Reading: N/A
-
Required Software:
-
Other Resources:
-
Author: Murray Brown /w help from friends
-
Version: April 2013
|
1. This exercise was radically upgraded in June 2011, due to comments provided by the students in the Ghent University's Erasmus Mundus MSc in Marine Biodiversity and Conservation, and also by the POGO IV Class at Bermuda Institute of Ocean Sciences |
2. This is the structure we recommend for creating a general-purpose data collection for any selected marine area. We've tested various similar structures for many years, and this is the best one. In the steps below, you'll make this structure.
|
|
3. Use Windows Explorer to create this folder structure (or similar). The important thing is to make a PROJECTS folder, and a LIBERIA folder. You can make folders for any other region of interest, such as PAGO_PAGO. |
|
4. This is a BAT file (or CMD file if your PC can't run BAT files) that will make the desired folders anywhere you want. Copy the text, without any leading or trailing empty lines into a file name MAKEFOLDERS.BAT (or MAKEFOLDERS.CMD). Save the file to the LIBERIA folder.
NOTE: If you don't know anything about BAT or CMD files, then read the reference document cited above for more information. For your quick information:
- MD XX - Means make a directory named XX
- CD XX - Means change to a directory named XX
- CD .. - Means move up to the directory one level above
|
MD DATA
MD METADATA
MD PRODUCTS
CD DATA
MD OCEAN
MD BASEMAP
CD OCEAN
MD WOD
MD WOA
MD ADD_OTHER_DATA_FOLDERS_HERE_AS_NEEDED
CD ..
CD BASEMAP
MD BORDERS
MD GEOLOGY
MD RELIEF
CD ..
CD ..
CD PRODUCTS
MD HDFVIEW
MD IDV
MD ODV
MD PANOPLY
MD SAGA
CD ODV
MD COLLECTIONS
MD IMAGES
MD INTERPOLATIONS
MD SUBSETS
CD..
CD SAGA
MD PROPERTIES
MD AUXILIARY
MD GEOIMAGES
MD GRIDS
MD PROJECTS
MD TABLES
MD VECTORS
PAUSE
|
5. Double-click on the BAT (or CMD) file to run it. That will create the folders you need in current folder location. Use Windows Explorer to examine the new folders to make sure the structure is like that in Panel 2, above. If anything is missing, then simply add it manually with Windows Explorer. |
6. This method put the entire folder in the PROJECTS > LIBERIA folder, but of course you can move it anywhere you want. Just run it again, and you'll have a new empty folder structure there. |
|