Project

fsorg

0.0
Low commit activity in last 3 years
There's a lot of open issues
Create directories from a file that describes them
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.8.1
>= 0
~> 1.1
~> 0.1.0
 Project Readme

fsorg

A file format to describe and create directory structures

Installation

$ gem install fsorg

Usage

Usage:
    fsorg [options] <filepath>
    fsorg [options] <data> <filepath>

Options:
    -h --help                 Show this screen.
    -v --version              Show version.
    -r --root=ROOT_DIRECTORY  Set the root directory.

fsorg file format

The text file that describes the folder structure to create is written using this format

# This is a comment
ROOT /mnt/d/documents/new-organization-root

projects {
    playgrounds
    staging-area
}

resources {
  icons
  samples
  VSTs
  overlays
  textures
  fonts
  logos
  MIDIs
    ISOs
    installers
}

gaming {
  mods {
    minecraft
  }
  graphics {
    minecraft
  }
  shaders {
    minecraft
  }
  maps {
    minecraft
  }
}

music

images {
    gems
  memes {
    oc
    weeb
    dev
    misc
    templates
  }
  screenshots {
    keep
  }
    wallpapers {
        dual-screen
        phone
        wide
    }
}

documents {
  administrative
  cheatsheets
}

installed

installers {
    windows
    linux
}
example.fsorg

Running fsorg example.fsorg will create this hierarchy inside /mnt/d/documents/new-organization-root:

├── documents
│   ├── administrative
│   └── cheatsheets
├── gaming
│   ├── graphics
│   │   └── minecraft
│   ├── maps
│   │   └── minecraft
│   ├── mods
│   │   └── minecraft
│   └── shaders
│       └── minecraft
├── images
│   ├── gems
│   ├── memes
│   │   ├── dev
│   │   ├── misc
│   │   ├── oc
│   │   ├── templates
│   │   └── weeb
│   ├── screenshots
│   │   └── keep
│   └── wallpapers
│       ├── dual-screen
│       ├── phone
│       └── wide
├── installed
├── installers
│   ├── linux
│   └── windows
├── music
├── projects
│   ├── playgrounds
│   └── staging-area
└── resources
    ├── ISOs
    ├── MIDIs
    ├── VSTs
    ├── fonts
    ├── icons
    ├── installers
    ├── logos
    ├── overlays
    ├── samples
    └── textures

ROOT is not the only command available. See #3, until they are documented here.