[brlug-general] Script help

Joe Fruchey jfruchey at gmail.com
Wed May 30 11:33:42 CDT 2007


rename --help on ubuntu yields:
Usage: rename [-v] [-n] [-f] perlexpr [filenames]

Does the Fedora version take a perl expression as a parameter?

On 5/30/07, -ray <ray at ops.selu.edu> wrote:
> On Wed, 30 May 2007, Tim Fournet wrote:
>
> > The equivalent using the 'rename' command would be:
> > rename aaa bbb *
>
> Interesting... i'd never run across this command.  Thanks!  I've always
> done the lengthy perl/sed one-liner haha.
>
> rename on my fedora boxes is an binary in the util-linux package.  rename
> on ubuntu is a link to prename, which is a version written in perl.  Not
> sure if they use the same syntax.
>
> ray
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Ray DeJean                                       http://www.r-a-y.org
> Systems Engineer                    Southeastern Louisiana University
> IBM Certified Specialist              AIX Administration, AIX Support
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>
> _______________________________________________
> General mailing list
> General at brlug.net
> http://mail.brlug.net/mailman/listinfo/general_brlug.net
>



More information about the General mailing list