Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dogoncouch/dirutils

CLI tools for command execution and directory/file manipulation.
https://github.com/dogoncouch/dirutils

bash bash-script cli cli-command cli-tool cli-toolkit cli-utilities cli-utility command-line command-line-tool command-line-tools commandline directories directory posix toolkit utilities utility

Last synced: 1 day ago
JSON representation

CLI tools for command execution and directory/file manipulation.

Awesome Lists containing this project

README

        

# 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 ]
(-r executes recursively; -d executes to a max depth)

at [-hv]

follow [-hvd] [-t ]

unsplit [-hvz] [] ...

sush [-hv] ''

# Installing
See the latest instructions on the [releases page](https://github.com/dogoncouch/dirutils/releases)

# 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'