Giter VIP home page Giter VIP logo

shools's Introduction

shools

Some shell scripts -- that I will elevate to tools -- for daily data/system operations...or whatever ;P

shools's People

Contributors

chbrandt avatar

Watchers

 avatar James Cloos avatar Angelo Pio Rossi avatar  avatar

Forkers

3p-janet

shools's Issues

Tools to access/retrieve a file/filename given a set of tags/keywords

The scenario is a set of files (images,catalogs,etc) organized (no matter how -- this is up to the sysadmin/curator decide) in a usual filesystem's directory structure. The user needs to access the files through a set of tags. Tags are properties.

To access a file, something like the following is thought:

shools [get] filename [given] catalog x-ray stripe82 xmm photometry

That would give me back the filename of the x-ray photometric catalog of XMM-Newton over the Stripe82 field. catalog x-ray stripe82 xmm photometry are all tags.
Ideally, each file has a uniq set of tags. This means that expressing the deepest level available for tags would return only one filename. It is clear, though, that multiple filenames returned should be not only expected but made as feature.
Tags could be subclassed to add pre/post processing (for example, stripe82 could be an action-tag meaning the original catalog would be crop to that region).

command to synchronize files

Simply put up a command with the usual option/flags under the hood and respecting a fixed, but customizable on each machine.
Let's say I want to synchronize some scripts I've being improving in a remote machine that does not have git installed. I would like to type something like:

# shools sync push remote-machine repository awesome-code

In fact, push could be hidden if a "most-recent-update-time" rule would be used.
To accomplish that, shools would go to the remote-machine section of its (local) config file, and look for the sync settings. Their it would found, for example, that to synchronize with that (remote-machine) machine it would use rsync, over the port 12321, using ssh protocol.

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.