Organize - The file management automation tool

While looking for a way to keep my files sorted, I came across Organize ( https://github.com/tfeldmann/organize ). Organize is a flexible python script that given a set of rules will keep your files sorted with ease.

The following are the steps I used to get it up and running;

  1. Clone the git repo:
git clone https://github.com/tfeldmann/organize.git
  1. Once cloned change to organize folder and build the docker image:
 docker build -t organise .
  1. Create a config file for organize to read the rules from:
touch docker-conf.yml
nano docker-conf.yml
  1. Add the following initial rule:
rules:
   - locations: /data
    actions:
       - echo: "Found file: {path}"
  1. Run the container:
 docker run -v ./docker-conf.yml:/config/config.yml -v /Users/[USERNAME]/:/data organise run

This command uses the docker-conf.yml file from the current folder and passes it in to the container under the path /config/config.yml. It also passes the users home path, in this case /Users/[USERNAME]/ as the /data folder to the container. Note the value of the locations parameter in the above config is based of /data/

How I built this

This is how I build the toolchain enabling me to quickly publish these posts. I wanted to make it easy and fun for me to write posts.

I have been using Obsidian as my main note taking app for a long time, when I came across NetworkChuck’s video on starting a blog. In the video he uses Obsidian paired with Hugo and because I like playing with different ways of using Obsidian, I thought I have to try this. Chuck’s toolchain in the video was Python, Github and Hostinger, I thought that seems like too much work for me. I have at my finger tips;

My First Post

I have written this post a number of times of the over the years! The things that have stopped me from posting further posts are ideas and time involved to publish.

Let me introduce myself quickly, I’m Matt, I’m based in the south of the UK, I nerd on Tech, Software, Music and D&D.

You can use the Tags menu link to find posts on any of these.