GithubHelp home page GithubHelp logo

miriti / ftags Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 10 KB

Command-line files tagging tool

JavaScript 98.91% Vim Script 1.09%
file-organization file-organiser files tagger tagging taggingtools

ftags's Introduction

ftags

ftags (File Tags) is a simple command line file tagging utility that helps to organize your files by assigning tags to them.

Instalation

Assuming that you already have Node.js and Npm installed: npm i -g ftags

Usage

Initialize ftags database (optional)

ftags stores it's data in a single database file (.ftags.db). By default ftags searches for this file in the currect working directory. If it won't be able to locate it there it will try to find it in all the parent directories up to the root of the file system. If the file won't be found after that it will be assumed that the global database file should be used. Global database default location is the home directory of the user.

If you wan't to create a new .ftags.db file in the current directory and those scope it out from the global database just use the --init option in the command:

ftags --init

Tag a file

ftags example.txt tag1 tag2 'multiple words tag'

List files marked with tags

ftags tag1 tag2

Execute a command on files marked with tags

ftags tag1 tag2 --exec=open

This command will run the specified program and pass found files as arguments e.g.:

open file1 file2 file3

ftags's People

Stargazers

 avatar  avatar

Watchers

 avatar  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.