Coder Social home page Coder Social logo

aacb / fbhto Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 40 KB

fbhto - From black hole to organized. fbhto uses inotify Linux interruption to implement a blackhole, which will suck immediately the files it receives, and then moves them to another place, in a organized manner.

License: GNU General Public License v3.0

Makefile 3.01% Shell 96.99%
bash-script inotifywait blackhole file-organiser

fbhto's Introduction

fbhto

fbhto is a flexible Bash script to help you organize your files, such as: images, videos, docs and texts.

How it works

fbhto = From BlackHole To Organized.

fbhto uses Linux inotify events to implement what we will call a blackhole: it is a directory that will suck the files it receives, and moves them to another place, in a organized manner.

The idea is to have a place where we can move our new files, and then fbhto do whatever is necessary to organize these files for us.

It is strongly recommended that you make some tests and carefully observe the results BEFORE YOU START your regular and serious use of fbhto.

Usage

usage: fbhto.sh

all options are in the configuration files inside /etc/fbhto/ directory.

The file /usr/share/doc/fbhto/INSTALL will contain the instructions on how to automatically call fbhto.sh by the init (at least for the systemd init).

TODO

fbhto is expected to be improved to incorporate those new features, and maybe others you suggest:

  • deduplicate the files moved to the blackhole
  • allow regular users have their own configuration files at ~/fbhto/ and interpret them
    • run another instance of fbhto for each user
    • monitor (using inotify as well) a signal from the user, asking for reading and interpreting her/his conf files
    • protect the user instance against privilege scalation

Contributing

Feel free to improve fbhto. Your pull-requests are welcome.

LICENSE

fbhto is licensed under GNU GPL v3

fbhto's People

Contributors

aacb avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.