From 8d61d1d685c22e46e5da79169dfa9c5fd8d1950e Mon Sep 17 00:00:00 2001 From: Matteo Cypriani Date: Wed, 10 Apr 2013 16:27:14 -0400 Subject: [PATCH] Add bin/ to link other scripts and global README --- README | 20 ++++++++++++++++++++ bin/git-changelog | 1 + bin/git-cherry-move | 1 + bin/git-merge-ff-only | 1 + bin/git-tag-update | 1 + bin/grep_dd_sigs | 1 + bin/latexd | 1 + bin/lz | 1 + bin/make_html2text | 1 + bin/metaflac-field2field | 1 + bin/mvparent | 1 + bin/unln | 1 + bin/uz | 1 + bin/xzize | 1 + compression_utils/README | 4 ++++ 15 files changed, 37 insertions(+) create mode 100644 README create mode 120000 bin/git-changelog create mode 120000 bin/git-cherry-move create mode 120000 bin/git-merge-ff-only create mode 120000 bin/git-tag-update create mode 120000 bin/grep_dd_sigs create mode 120000 bin/latexd create mode 120000 bin/lz create mode 120000 bin/make_html2text create mode 120000 bin/metaflac-field2field create mode 120000 bin/mvparent create mode 120000 bin/unln create mode 120000 bin/uz create mode 120000 bin/xzize diff --git a/README b/README new file mode 100644 index 0000000..b9677e5 --- /dev/null +++ b/README @@ -0,0 +1,20 @@ +This repository provides a bunch of scripts that may or may not be of +interest for you. All are free software, but we use various licenses; +the license and copyright information of a script are given in the +file's header. + +The scripts are categorised into directories, and each directory +contains a README file with description and usage of each script it +contains. + +For 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" diff --git a/bin/git-changelog b/bin/git-changelog new file mode 120000 index 0000000..cdd8463 --- /dev/null +++ b/bin/git-changelog @@ -0,0 +1 @@ +../git/git-changelog \ No newline at end of file diff --git a/bin/git-cherry-move b/bin/git-cherry-move new file mode 120000 index 0000000..8ef5c7b --- /dev/null +++ b/bin/git-cherry-move @@ -0,0 +1 @@ +../git/git-cherry-move \ No newline at end of file diff --git a/bin/git-merge-ff-only b/bin/git-merge-ff-only new file mode 120000 index 0000000..26f58c8 --- /dev/null +++ b/bin/git-merge-ff-only @@ -0,0 +1 @@ +../git/git-merge-ff-only \ No newline at end of file diff --git a/bin/git-tag-update b/bin/git-tag-update new file mode 120000 index 0000000..46fcdf4 --- /dev/null +++ b/bin/git-tag-update @@ -0,0 +1 @@ +../git/git-tag-update \ No newline at end of file diff --git a/bin/grep_dd_sigs b/bin/grep_dd_sigs new file mode 120000 index 0000000..9f8e751 --- /dev/null +++ b/bin/grep_dd_sigs @@ -0,0 +1 @@ +../debian/grep_dd_sigs \ No newline at end of file diff --git a/bin/latexd b/bin/latexd new file mode 120000 index 0000000..d9e50fb --- /dev/null +++ b/bin/latexd @@ -0,0 +1 @@ +../latex/latexd.sh \ No newline at end of file diff --git a/bin/lz b/bin/lz new file mode 120000 index 0000000..bd99054 --- /dev/null +++ b/bin/lz @@ -0,0 +1 @@ +../compression_utils/lz.sh \ No newline at end of file diff --git a/bin/make_html2text b/bin/make_html2text new file mode 120000 index 0000000..d4a0143 --- /dev/null +++ b/bin/make_html2text @@ -0,0 +1 @@ +../make_html2text/make_html2text.sh \ No newline at end of file diff --git a/bin/metaflac-field2field b/bin/metaflac-field2field new file mode 120000 index 0000000..a2a09a2 --- /dev/null +++ b/bin/metaflac-field2field @@ -0,0 +1 @@ +../metaflac-field2field/metaflac-field2field.sh \ No newline at end of file diff --git a/bin/mvparent b/bin/mvparent new file mode 120000 index 0000000..c313508 --- /dev/null +++ b/bin/mvparent @@ -0,0 +1 @@ +../file_utils/mvparent.sh \ No newline at end of file diff --git a/bin/unln b/bin/unln new file mode 120000 index 0000000..4eb23a9 --- /dev/null +++ b/bin/unln @@ -0,0 +1 @@ +../file_utils/unln.py \ No newline at end of file diff --git a/bin/uz b/bin/uz new file mode 120000 index 0000000..bd99054 --- /dev/null +++ b/bin/uz @@ -0,0 +1 @@ +../compression_utils/lz.sh \ No newline at end of file diff --git a/bin/xzize b/bin/xzize new file mode 120000 index 0000000..be601ec --- /dev/null +++ b/bin/xzize @@ -0,0 +1 @@ +../compression_utils/xzize.sh \ No newline at end of file diff --git a/compression_utils/README b/compression_utils/README index 5173fe7..d2ef15a 100644 --- a/compression_utils/README +++ b/compression_utils/README @@ -17,6 +17,10 @@ instance /usr/local/bin) and hard link it to uz: cp lz.sh /usr/local/bin/lz ln /usr/local/bin/{lz,uz} +Alternatively, you can use directly the symbolic links provided along +with the repository by adding the "bin" directory to your PATH, as +explained in the main README file. + # xzize.sh #