File naming & folder orgnaization
File naming and folder organization are two of the primary tools you have to manage your data. There are a number of different strategies you can use to organize your files. Your folder structure is primarily a way of grouping similar or related files together, and some possible grouping strategies are listed here. Whatever organizational scheme you create should be one that is relatively easy for you to remain consistent with. Consistency
creates expectation -- even if you don't know exactly where a specific file is saved, you should be able to rely on your system to know where it should have been saved, and look there first.
File naming
A goal for file naming is to give enough information so that either the creator or a new user can figure out where the information in the file fits into the project.
File names should be:
- Unique
- Consistent
- Easy to skim or scan
- Designed to help groupings of files fall into a useful order
Elements that may be included in your file names:
- Date
- Project name
- Type of data
- Conditions
- Location/spatial coordinates
- Researcher info
- Version
File naming tips
- Be brief
- Use this date format - YYYYMMDD
- Abbreviate when it makes sense - mpls vs Minneapolis
- Use leading zeros - 001, 002, etc.
- Instead of spaces, use underscores, hyphens, or remove spaces
- Zea_mays
- Zea-mays
- Zeamays
- ZeaMays
- Avoid special characters
- Consider how the files will sort
-
Think about others who will be using the files
Renaming existing files
If you are renaming older files, you have options:
- Do it manually
- Use software to assist
- Bulk Rename Utility (Windows, free)
- Renamer 6 (Mac)
Resource
File naming convention worksheet from CalTech Library
Folder organization
Folders and directory structure are also important to consider.
- They can be simple (just a list); a complex, multi-level hierarchy; or something in between
- Be sure they complement your file naming scheme
- Consider copying a scheme from another realm of your life
- There is software that may assist you
Tools for reorganizing existing folder structures
It’s one thing to start fresh with a clear folder organization structure in mind, but it’s more difficult to return to existing folder structures with the aim of reorganizing. There are practical ways to get started below.
- Create a directory tree from a PC or Mac hard drive
- Command line in Windows: tree /a /f > output.txt
- Command line in Mac (first install Tree with Homebrew): tree -hF > ~/Desktop/output.txt
- Take a file inventory
- Once in a folder, assess the files within and mark them according to next steps (i.e., delete, archive, private, share, etc.)
Download an example file folder structure (forthcoming)