GithubHelp home page GithubHelp logo

dogoncouch / dirutils Goto Github PK

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

CLI tools for command execution and directory/file manipulation.

License: MIT License

Shell 90.40% Makefile 9.60%
cli cli-utilities command-line command-line-tool utilities utility cli-toolkit cli-utility directory directories

dirutils's Introduction

dirutils

CLI tools for command execution and directory/file manipulation.

Commands

inall - Execute a command in all subdirectories of the current working directory
at - Execute a command from within a specified directory
follow - Execute a command at intervals (default 1 second)
unsplit - Add files together end to end
sush - Execute a multi-line command with sudo privileges

Usage:

inall [-hvr] [-d <depth>] <command>
(-r executes recursively; -d executes to a max depth)

at [-hv] <directory> <command>

follow [-hvd] [-t <seconds>] <command>

unsplit [-hvz] <outfile> <infile1> <infile2> [<infile3>] ...

sush [-hv] '<commands>'

Installing

See the latest instructions on the releases page

Examples

inall du -sh
inall git status | more
at ~/.config git init
follow date
follow -d -t 5 ls -l
unsplit myfullmodule.py xaa.py xab.py xac.py
unsplit -z /root/fullauth.log auth.log.2.gz auth.log.1 auth.log
sush 'apt update;apt upgrade'
sush 'whoami;uid'

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.