[Gllug] error in bash script to rename files in a directory

Paul Cupis paul at cupis.co.uk
Tue Dec 31 17:36:44 UTC 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 31 Dec 2002 10:11, Tethys wrote:
> Pete Ryland writes:
> >Well, if 'rename' works, he's got perl anyway, since rename is basically
> >just a perl one-liner with documentation.
>
> Ermm... no it's not:
>
> isengard:~% file /usr/bin/rename
> /usr/bin/rename: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
> dynamically linked (uses shared libs), stripped

I guess it depends on your system. On Debian GNU/Linux.

paul at kippax:~$ file `which rename`
/usr/bin/rename: a /usr/bin/perl -w script text executable
paul at kippax:~$ dlocate `which rename`
perl: /usr/bin/rename
paul at kippax:~$

Paul Cupis
- -- 
paul at cupis.co.uk

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+EdW3IzuKV+SHX/kRAuROAJoCgDwGry0/1tsDx3TFt4nzibkFqACdH7Xa
CmscJFa7jgAUrDDlA+YD2QU=
=Y3r2
-----END PGP SIGNATURE-----

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list