License
Downloading
xbiff.py -- mail notifier
cdm -- cd from menu
SFTP -- file transfer with SSH
jpgMv -- rename photos to date and time
toZen -- build playlists on a Creative Zen MP3 player
All the programs on this page contain the following license:
Copyright (C) 2011 Peter Scott - p.scott@shu.ac.uk This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
By downloading a script you are accepting the terms of the GNU General Public License for the script.
The scripts often contain tabs or other odd characters so they cannot be pasted. You have to do a "save link target as" to a directory on your PATH and make the script executable. Or, use wget!
xbiff.py
watches an IMAP account and alerts you with a beep and a very
small alert when new mail arrives.
xbiff.py takes up no permanent screen space.
Here is a snapshot of a corner of my workspace showing
the alert:
xbiff.py is much simpler than gnubiff and handles lost connections more sensibly. I start it in my .bash_profile and stop it from my .bash_logout.
cdm.sh
displays a menu like this:
and lets you choose the directory you want by name or by number.
(In the screenshot, the reply has been copied -- not typed!)
Directories can be omitted from the menu, or added, by setting
up a couple of hidden files.
SFTP is a convenient front-end to the sftp command; it can be used from the command line to move files about or compare them, or it can be called from cron or from any shell script. SFTP uses the batch mode of sftp but you don't have the hassle of setting up a batch file or reading all the output. Clearly, it is only useful if you have set up password-less logins.
SFTP works with SSH.com SSH, Open-SSH and Sun's dumbed-down version of Open-SSH.
jpgMv uses jpgDate to rename a collection of jpg files so they have names like 2005-10-13_00.jpg or 2005-10-13+15-15-46_00.jpg. jpgMv is particularly useful when merging many photos into one directory; it does not overwrite existing files. jpgDate uses the identify command from ImageMagic.
toZen takes a directory of MP3s and turns it into a playlist on a mounted Creative Zen MP3 player.