Files renamen

Marc Mutz mutz at kde.org
Thu Nov 14 23:10:01 CET 2002


On Wednesday 16 October 2002 18:48, Thomas Balsfulland wrote:
> High ihrs,
>
> ich habe hier ewig viele Dateien die ich alle umbennen muss.
> Es gibt allerdings keine festen Regeln für die Namen und
> so suche ich ein proggi welches mir den alten Dateinamen
> irgendwie aufprompt und ich nach belieben Zeichen in dem
> Namen ändern kann.
<snip>

Also ich hab' hier:
RENAME(1)           Linux Programmer's Manual           RENAME(1)

NAME
       rename - Rename files

SYNOPSIS
       rename from to file...

DESCRIPTION
       rename  will  rename  the specified files by replacing the
       first occurrence of from in their name by to.

       For example, given the files foo1, ..., foo9, foo10,  ...,
       foo278, the commands

              rename foo foo0 foo?
              rename foo foo0 foo??

       will  turn  them  into  foo001,  ..., foo009, foo010, ...,
       foo278.

       And
              rename .htm .html *.htm

       will fix the extension of your html files.

Marc

-- 
History teaches that grave threats to liberty often come in times of
urgency, when constitutional rights seem too extravagant to endure.
                                  -- Justice Thurgood Marshall, 1989
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20021114/614138ad/attachment.sig>


More information about the Linux mailing list