[CentOS] -bash: /bin/mv: Argument list too long

Thu Jun 15 15:23:59 UTC 2006
Mark Quitoriano <markquitoriano at gmail.com>

im doing mv a* mv b* right now but i have more than 200K files to be moved
is there a faster way?

On 6/15/06, Charles Lacroix <clacroix at cegep-ste-foy.qc.ca> wrote:
>
> On Thursday 15 June 2006 10:41, Mark Quitoriano wrote:
> > what's a workaround for this?
> >
> > -bash: /bin/mv: Argument list too long
>
> can't you use something like
>
> find . -exec mv {}\; /new/location
>
> it's just an idea like this...
>
> if not
>
> mv a* ..
> mv b* .. etc
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Regards,
Mark Quitoriano, CCNA

Fan the flame...
http://www.spreadfirefox.com/?q=user/register&r=19441
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20060615/d9cf9515/attachment-0005.html>