Main
CouchMan
Flac-Jacket
Downloads
 -mostly scripts
Script Bits
Docs
Misc Notes
Tasks
Personal
hash bang slash
      bin slash bash

Files Available for Download


This page contains some scripts you may find useful.
    Notes:
  • Single scripts have been renamed by adding '.txt' so you can view them online (remove '.txt' before using).
  • Sets of scripts (like Flac_Jacket) are tar/gzipped.
  • To extract the tar files after download, use tar xvf filename.tar or tar tf filename.tar to display the contents.
  • To extract the tgz files after download, use tar xzvf filename.tar or tar ztf filename.tar to display the contents.
  • Make sure the script is executable. You may need to chmod 755 (or whatever) so it is executable.
  • Check for any variables that may need changing, edit to match your needs.

You can use the links below, or access the Downloads Directory.
    Shell Scripts (hopefully useful Apps, Utilities, etc):
    (in no particular order)
  • CouchMan -Music Management and Playback System. It's a handful of shell scripts interacting with MySQL to play music via a web interface. More information is available here.
  • Flac Jacket -FLAC File Management Program used to create and manage FLAC audio files. More information is available here.
  • flac2mp3 -A utility to create and web-publish mp3's by converting flac audio files into mp3's and generating a playlist. It's a quick hack using a few Shell Scripts and a bunch of code taken from Flac-Jacket. It could easily be adjusted to convert straight from raw to mp3.
  • MP3 Player -Script to randomize and play all mp3's in a directory (uses mplayer or realplay).
  • FM Radio Player -A simple script to play pre-set FM stations (requires fmtools and an FM tuner card).
  • Movie Burner -Automates burning movies from avi to dvd (see requirements at top of script).
  • Picture PlaceMat -Picture PlaceMat is the code used for my Picture Album. It is entirely written in Bash and has minimul server side requirements.
  • DNS Manager -Another utility written in shell. This is a IP Management System which creates a MySQL databas based on data collected from BIND servers. It allows you to querry and update records. It is a young project but has some very interesting code.
  • change_hwaddr.sh -Quick script to change your MAC (Hardware) Address, then reset to original. This is crude, but works.
  • checkip.sh -Run from cron to send email alerts if the system IP changes. This is usful for use with a DynamicDNS service.
  • renewip.sh -Checks if NIC is up and has an IP address. Resets network as needed. I used this to keep the network up while I tried to locate a sporatic problem.
  • remote-backup.sh -Backs up file systems or directories ans sends to a remote host using SSH (scp). Key Authentication must be set up prior to using this script.
  • cpio_backup.sh -Similar to the above script except it uses cpio.
    Note that this is incomplete and restorations must be done directly with cpio.
  • df-extreme.sh -Monitors disk space via crontab. Emails alerts if a filesytem's free space drops below a user defined theshold. Allows different threshold sizes, as minimum MB's free, per filesystem.
    Some Requisites for scripts, external stuff, etc:
  • FLAC -A program (codec) to encode music into lossless FLAC format. Required for Flac Jacket.
  • RawRec -A utility to capture a raw audio stream. Useful for creating source audio files for use in Flac Jacket
  • ls -This is the Old Style ls command that does a Unix style sort. (., 0-9, A-Z, a-z)




Back to Main Page
Site maintained by: Pete Nesbitt RHCE
Date: Thursday, 02-Sep-2010 16:06:24 PDT