Handy Bash scripts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gd 96e34eec2c update md2man 3 months ago
README update md2man 3 months ago
esc update esc, http and prntl 3 months ago
hbs.ascii update 5 months ago
http update esc, http and prntl 3 months ago
log add log 3 months ago
md2man update md2man 3 months ago
prntl update esc, http and prntl 3 months ago
rng update 5 months ago
upl add upl 3 months ago
view update 5 months ago
yad add yad and md2man 3 months ago

README

 _     _
| |__ | |__ ___
| '_ \| '_ \/ __|
| | | | |_) \__ \
|_| |_|_.__/|___/

Handy Bash scripts

Installation
============

I recomend install scripts into the home directory. Place they into `~/.local/bin`. If you don't have it, create it:

$ mkdir -p ~/.local/bin

Give executing rights for scripts:

$ chmod +x <script_name>

Check your PATH variable:

$ echo $PATH

If you don't find `/home/your_username/.local/bin` run:

$ echo 'export PATH+=:$HOME/.local/bin' >> ~/.bashrc && source ~/.bashrc

Done. Run `<script_name> --help` for check.

---

Scripts
=======

http Python 3 http.server runner.

upl Upload files to remote server via server alias.

yad Download file from Yandex.Disk storage.

md2man Convert Markdown to roff. Pandoc wrapper.

prntl Print formatted log. Simple logging tool.

log Logs viewing tool. Prints log to STDOUT.

esc Escape whitespaces and specail characters in string.

view Print highlighted text to STDOUT. highlight wrapper.

rng Expand ranges like "1-4,7,9-12" into a number series.