21 projects tagged "bash script"
TeachToPod is a set of shell scripts for ripping DVDs from The Teaching Company to produce either video files (m4v) or audio files (mp3) for playback on an iPod. Metadata such as lecture titles are automatically scraped from the Web and added to the output files. Operation of the scripts is almost automatic, and from the operator's viewpoint requires merely physical insertion and removal of the DVDs. Presently, the scripts are optimized for iPod Classic and have only been tested on Ubuntu 10.10.
CPDFTK is a commercial, supported implementation of pdftk. It is a set of command line tools for manipulating PDF files with the same interface as the popular open source pdftk tools. It can split, merge, linearize, scale, rotate, crop, encrypt, decrypt, watermark, bookmark, annotate, attach, and impose files.
feed2wmmenu is a tool to generate X11 window manager menus from RSS, ATOM, or other news feeds. It was inspired by "fvwm-menu-headlines", which generates static refreshed FVWM menus from RSS or other kinds of news feeds. The drawback of the FVWM related script is the use of simple regular expressions. feed2wmmenu polls the feeds using curl, utilizing the Last-Modified header so that the feeds are potentially not fetched if they didn't change since the last poll. It produces diverse output formats by using corresponding XSLT stylesheets.
Weighted Slideshow is a small shell script that creates a random playlist file from image files in the current directory. This list can then be used as input to an image viewer (such as "feh"). Although many image viewers can display a slideshow of randomly selected pics, Weighted Slideshow strongly favors files with newer modification times over older ones.
@ (monkey-tail) is a simple collection of simple commands. Built-in commands include listing of memory usage and open files for a process (by name or PID), running processes detached from a terminal, and running a program only once. @ can merge external pieces of code into itself to provide extra commands. Additionally, these "externals" can then be updated from their source. Currently there are externals available for extracting archive files (including nested archives), setting the GNOME desktop wallpaper image, and for replicating @ to another host via SSH. Externals can easily be written, as they are simply collections of Bash functions. It is completely self contained and self modifying, and is implemented in a single file.
Sam is a Morse code trainer. It is a bash script that runs in a terminal. It beeps and boops out the command-line arguments in Morse code. If there are no command-line arguments, then it beeps and boops the Usage message. Simple, no? But the gimmick is that it prints out the text to the terminal, and the cursor below the text keeps track of which letter is being sounded.
Grab Downloading Flash Video is a Bash script designed to be called via a Linux GNOME Desktop custom shortcut key while a Flash video is playing in your Firefox or Chrome browser. The script attempts to find the file being downloaded, waits for the download to finish, and then copies it to a configured directory. Prior to Flash 10.2, it was easy to find the file yourself in the /tmp directory. But starting with version 10.2, this script is more useful because the file is deleted but internally still open. Note that this is not a universal solution. Some sites, such as YouTube, make it easy to find the URL of the Flash video file. In those cases you may have better success using a download utility such as 'youtube-dl'.