[CentOS] -bash: /bin/mv: Argument list too long
William L. Maltby
BillsCentOS at triad.rr.com
Thu Jun 15 15:24:14 UTC 2006
On Thu, 2006-06-15 at 11:03 -0400, Charles Lacroix wrote:
> On Thursday 15 June 2006 10:56, William L. Maltby wrote:
> > On Thu, 2006-06-15 at 22:41 +0800, Mark Quitoriano wrote:
> > > <snip>
> or if you do it with a file ..
> ls dir > file.txt
>
> perl -pi -e 's/^/mv /' file.txt
> perl -pi -e 's/$/\/new\/path\/for\/files/' file.txt
>
> chmod a+x file.txt
> ./file.txt
I quit "bash vs. perl vs. XYZ" wars when I left LFS. :-)
> <snip>
--
Bill
-------------- 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: <http://lists.centos.org/pipermail/centos/attachments/20060615/d41a9404/attachment.sig>
More information about the CentOS
mailing list