Hacker News new | ask | show | jobs
by stephenr 3566 days ago
~/Projects/$MyCoName/{Clients/$ClientName,Internal}/$ProjectName

Edit: for anyone who doesn't quite read shell expansion, it looks like this:

    ~
    + Projects
      + My Company Name
        + Clients
          + Client 1
            + Project Foo
          + Client 2
            + Project Bar
        + Internal
          + Project Baz
1 comments

Yea I do something similar. I like the {$ClientName, Internal} though. I had issues with that before.
What issues did you have?

FYI the {} is shell expansion braces (which split on the comma), I've edited my comment with a literal tree of how it looks

Edit dos: and I see that you probably knew that!

My bad, I didn't mean I had issues with the expansion or the idea, but it solves the organization issues I had.