rename appears useless in Ubuntu

Brian McKee brian.mckee at gmail.com
Wed May 13 02:29:30 UTC 2009


On Wed, May 6, 2009 at 9:57 PM, anthony baldwin
<baldwinlinguas at gmail.com> wrote:
> I have a little script to remove spaces from file names, and it was
> working when I was using PCLinuxOS, but not on Ubuntu.
> I used to be able to cd to a dir and do "nospace"(what I named the
> script), and it would ask me for a file extension, remove the space, and
> ask for a cookie.  But on Ubuntu it does not rename the spaces.
> I can't figure for the life of me why...

There are several different programs called rename running around.
Looks like PCLinuxOS and Ubuntu are using different ones as the 'default'

Compare `man prename` to `man rename.ul`

prename = perl rename = the default rename in Ubuntu

I believe you want rename.ul for the syntax you are used to.

Brian



-- 
All you need to know about Ubuntu 9.04 Jaunty -> gconftool -s --type
bool /apps/update-notifier/auto_launch false




More information about the ubuntu-users mailing list