Amount - mount things automatically for one command line

Introduction

Amount is an alternative to typing mount/umount commands or using the automounter. It mounts all the partitions mentioned in a command line, runs the command, and then unmounts them again. It knows about shell wildcards.

Usage

Just stick 'amount' on the front of your command line, for example:
amount ls /mnt/floppy/*.txt
If the shell can't glob the *.txt then amount will try again after /mnt/floppy has been mounted.

Downloading

The latest version is 0.1.4, which copes with comments in the fstab and mtab files.

Installing

Run
./install --prefix=/usr/local
or whatever directory you want.

Copying

All the files are in the public domain. This means there are no copyright restrictions, you may do what you wish with them. Of course, giving credit would be appreciated (but not required).

They are offered as-is with no warranty whatsoever.

Author

Please contact me, Ed Avis <ed@membled.com> with any suggestions or bug reports.

This program has a web page at http://membled.com/work/apps/amount/.


Stop software patents in the EU

Edward Avis
Last modified: Sun Dec 26 18:31:24 GMT 2004