Various scripts in various languages.
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.
Matteo Cypriani d321ec9761 [archivers] xzize: output file to same directory пре 10 месеци
archivers [archivers] xzize: output file to same directory пре 10 месеци
audio metaflac-field2field: minor improvements, shellcheck пре 2 година
backup [backup] shellcheck пре 2 година
bin Renamed cluster/ -> ssh_tools/ пре 11 месеци
dddoc Add dddoc/ пре 2 година
debian [debian] fix grep_dd_sigs & shellcheck пре 2 година
email_account [email_account] Adapt to new mail config on adagio пре 7 година
file_utils [file_utils] fix python shebang & run prospector пре 2 година
git [git] shellcheck, minor changes пре 2 година
graphics [graphics] shellcheck bypass пре 2 година
misc Add misc/ пре 2 година
ssh_tools [ssh_tools] tabssh: handle tmux пре 11 месеци
ssl_mgmt Fix ssl_mgmt after openssl -text output change пре 2 година
textproc [textproc] shellcheck пре 2 година
wifi [wifi] capture-sample: shellcheck & checkbashisms пре 2 година
.gitignore lz: tar.Z, short extensions, multiple files пре 10 година
Expat Add Expat license пре 9 година
GPL-3 lz: tar.Z, short extensions, multiple files пре 10 година README: list scripts of interest пре 2 година
WTFPL-2 lz: tar.Z, short extensions, multiple files пре 10 година

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: