Various scripts in various languages.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Thomas Preud'homme bfa3d78fca Fix ssl_mgmt after openssl -text output change 1 gadu atpakaļ
archivers [archivers] shellcheck 1 gadu atpakaļ
audio metaflac-field2field: minor improvements, shellcheck 1 gadu atpakaļ
backup [backup] shellcheck 1 gadu atpakaļ
bin Add file_utils/prefixsubdirs.sh 1 gadu atpakaļ
cluster [cluster] convert README to MarkDown 1 gadu atpakaļ
dddoc Add dddoc/ 1 gadu atpakaļ
debian [debian] fix grep_dd_sigs & shellcheck 1 gadu atpakaļ
email_account [email_account] Adapt to new mail config on adagio 6 gadus atpakaļ
file_utils [file_utils] fix python shebang & run prospector 1 gadu atpakaļ
git [git] shellcheck, minor changes 1 gadu atpakaļ
graphics [graphics] shellcheck bypass 1 gadu atpakaļ
misc Add misc/searchproviders2html.sh 1 gadu atpakaļ
ssl_mgmt Fix ssl_mgmt after openssl -text output change 1 gadu atpakaļ
textproc [textproc] shellcheck 1 gadu atpakaļ
wifi [wifi] capture-sample: shellcheck & checkbashisms 1 gadu atpakaļ
.gitignore lz: tar.Z, short extensions, multiple files 9 gadus atpakaļ
Expat Add Expat license 8 gadus atpakaļ
GPL-3 lz: tar.Z, short extensions, multiple files 9 gadus atpakaļ
README.md README: list scripts of interest 1 gadu atpakaļ
WTFPL-2 lz: tar.Z, short extensions, multiple files 9 gadus atpakaļ

README.md

mcy’s scripts

This repository provides a bunch of scripts that may or may not be of interest for you. They are all free software, but we use various licenses; the license and copyright information of a script are given in the file’s header.

Most scripts are categorised into directories, but “bigger” projects are kept in their own directories. Each directory contains a README file with description and usage of each script it contains.

Scripts of interest

Here is a list of the main scripts that could be of interest to the general public:

  • The stuff in file_utils is quite useful in my opinion, especially mvparent (moves the contents of a directory up one level).
  • dddoc, to extract inline documentation from scripts.
  • audio/just-play-something, to play random albums on your MPD server; it is meant to be binded to a button on your music box.
  • graphics/apply-exif-orientation: the name speaks for itself, sometimes useful.
  • If you’re a Git user, the git directory could be of interest.
  • email_account, to manage email addresses in a Debian + Cyrus + Postfix environment.

How to use

For your convenience, the bin/ directory is maintained with symbolic links pointing to the scripts in the other directories, so that you can add it to your PATH and use the scripts easily. The file extensions (.sh, .pl, .py, etc.) are stripped. Only relevant scripts are linked, i.e. those that do not need to be customised in order to be usable, and that are not very specialised system administration scripts.

To use the bin/ directory, add something like that in your .bashrc, .zshrc or whatever file the shell you’re using will source:

PATH="$HOME/path/to/scripts/bin:$PATH"