YETIcode Open Source Bash Scripts

GPL-Licensed Bash Code

Contributed by Chris Koeritz (Koeritz@Gruntose.COM)
See the GNU Public License for details of licensing.

Caveats: please refer to the Perl Scripts page which shares the same constraints as these Bash Scripts do.

Direct Cognition: View the scripts directory itself rather than navigating with the links below: scripts.

 

Assorted Bash Script Files

uhh.sh

This documentation page isn't quite ready yet.
In fact, this file is still in its very first few iterations and is pretty limited so far...

cvs_importer.sh

This script eliminates the need to use the cvs import command to pull in a whole new sub-hierarchy.  Given a sub-folder under an existing hierarchy, it will add all the subdirectories and all of the files in those subdirectories.  The script avoids adding any files found in the internally used CVS directories.
For example, suppose you have a folder called "hoople" that's a top-level project in CVS.  You want to add a new folder under the existing hierarchy "hoople/source/lib_src" called "pasta".  The "pasta" hierarchy has hundreds of subdirectories and thousands of files.  Assuming that you've already moved the new pasta source folder into place, the command would be:
    cvs_importer hoople/source/pasta
If you don't have the Yeti aliases set up, then you may need to type this instead:
    bash ~/yeti/scripts/cvs_importer.sh hoople/source/pasta

movie_seeker.sh / movie_stripper.shshow_stripper.sh

Some manipulation methods for a particular type of movie and TV show database.  These expect a db in the form of a CSV file with three fields per line: (1) index number, (2) show or movie name and (3) show episode title.  The third field is defined as blank for movies.  The movie_seeker finds a given movie (or pattern) in the database.  The movie_stripper pulls out all the unique movie or show names in the database.  The show_stripper pulls out the episode names for a particular show name (or pattern).

call_movie_seeker.sh / call_movie_stripper.sh / call_show_stripper.sh

These are CGI correspondents to the above movie database searches.  They're used on the Gruntose web site.