Advertising
Advertising

File Naming Scheme and Organization

File Naming Scheme and Organization

A web site called What do I know has post with pretty good comments and suggestions on how to structure your directories and name your files. The post is dated August 2002, but it is worth to read through and reference this when you need different file naming ideas. Most of them are examples which related to web design and consulting, but some of the feedback are general tips and tricks, such as this one:


1. I use underscores and hyphens for different and strict purposes. A hyphen separates a multi-word descriptor, an underscore separates categories of definition. For example: nav_home.gif, nav_phone-book.gif, nav_my-resume_on.gif

2. I’m not shy about name length. I always include info relevant to the function of the image and/or the section it belongs to. For example: home_nav_my-resume.gif, footer_nav_email_on.gif, widget_bullet_green-arrow.gif

Especially files for web, you wouldn’t want to use space for separating between words. This system of hyphens and underscores is pretty good on replacing space.

File Naming / Organization Methods? – [What do I know]

More by this author

Leon Ho

Founder of Lifehack

Book summary: A Technique for Producing Ideas 10 Ways to Extend Laptop Battery Life Bob Parsons on His 16 Rules for Survival Free note taking templates and techniques Fifty Essential Topics on Economics

Trending in Lifehack

1 The Lifehack Show Episode 11: Mindfulness and the Authentic Self 2 What Everyone Is Wrong About Achieving Inbox Zero 3 How to Plan Your Life Goals and Actually Achieve Them in 7 Simple Steps 4 Forget Learning How to Multitask: Boost Productivity 10X More with Focus 5 The Lifehack Show Episode 8: On Personal Success

Read Next

Advertising
Advertising
Advertising

Last Updated on November 3, 2019

The Lifehack Show Episode 11: Mindfulness and the Authentic Self

The Lifehack Show Episode 11: Mindfulness and the Authentic Self
In this episode, we interview Ora Nadrich, a renowned author, Thought Coach and Mindfulness Meditation teacher who taps into her own experiences to help others better understand theirs. She’ll talk about her new book Live True: A Mindfulness Guide to Authenticity and the importance of living an authentic life.
    Ora Nadrich

    Episode 11: Mindfulness and the Authentic Self

    Also available on iTunes and YouTube

    Featured photo credit: Martin Dawson via unsplash.com

    Read Next