- Find Information
- Research Guides
- Research Data Management
Research Data Management
File Naming Conventions
A file naming convention is a standard framework for naming your files in a way that describes them accurately and consistently. Establishing a file naming convention prior to starting a project can improve organization and accessibility for your research ream.
Image created using Canva.com
Date Formatting
By choosing a standard format for dates, you can avoid confusion and error when naming files. The ISO 8601 date format is an international standard for representing dates and times, which allows for unambiguous file description by ordering as year, month, & day:
Example: YYYY-MM-DD = 2021-05-02 or 20210502
Follow this link for more information about ISO date formatting: https://www.iso.org/iso-8601-date-and-time-format.html
Standard Characters
Only standard, alphanumeric characters should be used in file names. It’s good practice to:
- Avoid special characters such as !, #, &, and *. This can impact how the file is displayed if moved between different operating systems.
- Avoid starting or ending your filename with a non-alphanumeric character such as a hyphen or period
Example: 20180502_survey_results.csv, rather than 201805.survey.results.csv
- Use underscores or capital letters to separate words in your file name:
CamelCase |
Pot_hole_case |
ShovelTestSample002.csv |
shovel_test_sample_002.csv |
20240715_TissueScanSample005.tiff |
20240715_tissue_scan_sample_005.tiff |
Sequential Ordering
When using numbers in a file name to designate an order, use leading zeros for consistency and better readability. Labeling a file with 01 will order files up to 99, and 001 will order files up to 999.
File Renaming Tools
Renaming files individually can be tedious and lead to errors in naming conventions so it is best to find a free batch renaming tool instead.
- Bulk Rename Utility(for Windows)
- Renamer(for MacOS)
- PSRenamer(for MacOS, Windows, Unix, Linux - the file to run is psrenamer.jar)
- WildRename(for Windows)
File Naming Conventions for Specific Disciplines
Some research areas and disciplines have specific file naming practices that are preferable. For example:
- U.S. Department of Energy's Atmospheric Radiation Measurement (ARM) programFormatting and file naming protocols for data acquisition and use.
File Directory Structure Conventions
Structuring your data folders in a directory is useful for making it easier to locate and organize files and versions. Evaluate the best hierarchy for organizing your files and determine if a deep or shallow hierarchy suits your needs better. If your team has multiple independent data collections, it's recommended to create distinct folders for each one.
Directory top-level folders should include the project title, a unique identifier, and the date (year). The substructure should have a clear, consistent naming convention, e.g., uniform conventions for labeling each run of an experiment, each version of a dataset, and/or each person in the group.