Steffen Moeller wrote:
> mv - arglist too long

Note that the arglist limitation is a kernel limitation and not one in mv.

  
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Argument-list-too-long

What kernel are you running?

> Package: coreutils
> Version: 7.4-2ubuntu1
> Severity: wishlist

Hmm...  That isn't a Debian version of coreutils.  But no matter.

> instead of attempting "mv *.gz dest" one is asked to perform a "tar"
> or the directory or to execute "find . -maxdepth 1 -name "*.gz"
> -exec mv {} inb/ \; " .

You are forgetting about mv's --target-directory option.  It makes
things much easier and more efficient.

> I don't like that so much. The semantics
> were clearly expressed with the initial "mv *.gz dest"
> invocation. Instead, in analogy to tar, there should be an
> additional argument to mv that allows for the specification of a
> regular expression:

If you upgrade to a Linux kernel 2.6.23 or later such as 2.6.26 in
Debian Lenny Stable then you should find that the kernel limitation is
no longer present.  I imagine that Ubuntu would be the same.

>    $ mv --wildcards "*.gz" "inb"

Not really necessary.  Plus that is an undesirable program bloat.

> Please, please, please ... the high-performance computing world will
> thank it you.

Assuming that you are still running an older kernel can you please try
to recreate the problem on a newer kernel?

Bob



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to