rename appears useless in Ubuntu
Anthony Baldwin
photodharma at gmail.com
Wed May 13 02:46:32 UTC 2009
On 5/12/09, Brian McKee <brian.mckee at gmail.com> wrote:
> 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
>
Yep...that's the one I'm used to!
thanks!
/tony
--
htp://www.photodharma.com
art & photos of tony baldwin
More information about the ubuntu-users
mailing list