
[[[ http://guerila.com ]]]

mved - an editor-focused multiple file move utility

Copyright 2003-2005 Stefan Sperling <stsp@stsp.in-berlin.de>

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
THE AUTHOR OR ANY CONTRIBUTERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.


DESCRIPTION
You pass any number of filenames as parameters to mved.
mved opens a text editor of your choice. You get to edit all
filenames at once, then moving is done automatically.

For more detailed help, run mved --help


NEWS
Version 1.2:
    Fixes a crash when files specified on the command line do not exist.
    Fixes improper handling of temporary files in the circular renaming code.
    Code cleanup. Coding style is now much more consistent.
    Now prints a warning if the symlink-vim bug described below in the
    BUGS section is likely to occur.

Version 1.1:
    Fixes a bug specific to using mved on FreeBSD.

Version 1.0:
    This release includes support for circular renaming.
    Circular renaming is handled by moving one file to a temporary 
    filename. This would be in the current working directory, so make sure
    you have write access. For large files, stay on the same storage device.

    Temporary filenames are handled more securely than in previous versions.


INSTALL
To install mved, copy it somewhere in your $PATH (eg /usr/local/bin).
For usage instructions run 'mved --help'.
You need to have at least python-2.2.x installed (http://www.python.org).
You might want to validate the path to 'env' in the first line of the script.


HISTORY
mved is based on an idea by Neels Janosch Hofmeyr.
It was written and is being maintained by Stefan Sperling.
It was a Bash script originally, but was later rewritten in Python.
Circular renaming ability was added by Neels Janosch Hofmeyr.


BUGS
If TMPDIR is a symlink, and your editor is vim, mved may behave as if you
hadn't changed a single filename. The cause of this bug is unkown.
A workaround is to either make sure that TMPDIR is not a symlink, or using
another editor, e.g. by aliasing mved as 'mved -e <editor>'.

