public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Markus Schönhaber" <gentoo-user@schoenhaber.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Renaming tons of files
Date: Fri, 29 Feb 2008 11:34:15 +0100	[thread overview]
Message-ID: <47C7DFA7.1060909@schoenhaber.de> (raw)
In-Reply-To: <200802281820.15867.alan.mckinnon@gmail.com>

Alan McKinnon wrote:

>> Alan McKinnon wrote:

>>> And it's not A rename the OP wants to do - check the thread title

> Yes, he does want to rename files - tons of them per the title.

Well...

> As in, the same behaviour you get from 'ren *.txt *.doc' in Windows and 
> DOS. This gets exceptionally painful on *nix if you have a few thousand 
> *.txt files

What exactly makes doing
rename .txt .doc *.txt
so exceptionally painful?
OK, if the expanded command line exceeds the length limit, one might
have to combine the above with something like xargs. But I feel neither
pain with that nor the need to write a script or install KDE.

Anyway, this gets purely academic since the OP already said that he
could accomplish what he wanted to by using rename.

Regards
  mks
-- 
gentoo-user@lists.gentoo.org mailing list



      reply	other threads:[~2008-02-29 10:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-27 15:12 [gentoo-user] Renaming tons of files Amar Cosic
2008-02-27 15:30 ` Daniel Iliev
2008-02-27 15:35   ` Amar Cosic
2008-02-27 15:40 ` Erik
2008-02-27 15:50   ` Galevsky
2008-02-27 17:37     ` Alan McKinnon
2008-02-27 18:08       ` Etaoin Shrdlu
2008-02-27 18:00         ` Alan McKinnon
2008-02-27 19:01           ` Uwe Thiem
2008-02-27 19:04       ` Markus Schönhaber
2008-02-27 19:09         ` [gentoo-user] " Amar Cosic
2008-02-28 16:20         ` [gentoo-user] " Alan McKinnon
2008-02-29 10:34           ` Markus Schönhaber [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47C7DFA7.1060909@schoenhaber.de \
    --to=gentoo-user@schoenhaber.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox