Package Details: vils 1.1-1

Package Base: vils
Description: A zsh script for using an editor to rename files
Upstream URL: http://www.freebsdsoftware.org/sysutils/vils.html
Category: system
Licenses: custom:BSD
Submitter: haawda
Maintainer: kerobaros
Last Packager: None
Votes: 9
First Submitted: 2009-02-15 02:25
Last Updated: 2013-10-08 16:27

Dependencies (1)

Required by (0)

Sources

Latest Comments

Comment by kerobaros

2013-10-08 16:37

Updated PKGBUILD for current, correct source. Thanks, modulation; sorry I was so slow.

piojo: I'll try to take a look at your patch soon. Thank you!

Comment by modulation

2013-04-16 20:12

source moved to http://www.secnetix.de/~olli/scripts/Generic-utilities/$pkgname

Comment by piojo

2013-02-27 08:28

I've fixed two issues in vils:

- You can't rename files with "/" in the path (for example, files in another directory or moving files to a directory).
- You can't use vils to overwrite files.

Vils can't overwrite files due to the way it's designed. You can't pipe stdin to "mv -i" and expect it to work properly. As a hack, if my version of vils is invoked as "vils -f", it will call "mv -f" instead of "mv -i". It's not ideal, but it works. A better fix would involve parsing the input file into an array, then looping over the array and invoking "mv -i" for each element.

The fixes:
http://pastebin.com/F58YmCjb