Renaming Files on Hoary
James Livingston
jrl at ids.org.au
Wed Jun 15 02:36:06 UTC 2005
On Tue, 2005-06-14 at 19:29 -0400, Stephen R Laniel wrote:
> rename 's/JPG/jpg/g' *.JPG
On the off chance that your filename contains "JPG" (unlikely I know),
rename 's/JPG$/jpg/' *.JPG
is slightly safer.
Cheers,
James "Doc" Livingston
--
There are two major products that come out of Berkeley: LSD and UNIX. We
don't believe this to be a coincidence. -- Jeremy S. Anderson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050615/69bf097d/attachment.sig>
More information about the ubuntu-users
mailing list