Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Arglist too long...mv'ed crazy
- X-seq: zsh-users 11369
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Arglist too long...mv'ed crazy
- Date: Sun, 1 Apr 2007 21:02:58 +0100
- In-reply-to: <20070401174710.GA12451@xxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20070401021034.GA15269@solfire> <070331225824.ZM7614@xxxxxxxxxxxxxxxxxxxxxx> <070401094909.ZM18282@xxxxxxxxxxxxxxxxxxxxxx> <20070401172803.GA5026@xxxxxxxxxxxxxxx> <20070401174710.GA12451@xxxxxxxxxxx>
On Sun, Apr 01, 2007 at 01:47:10PM -0400, Clint Adams wrote:
> > > print -0 ../../cur/* | xargs -0 mv --target-directory=/back/up/folder
> > >
> > > (Note xargs, not zargs, in the latter case.)
> >
> > My zsh doesn't seem to have a -0 print option.
> >
> > Maybe print -f '%s\0' ...
>
> "print -N" is misspelled up there.
print -rN
then
or
printf '%s\0'
and that's even portable outside of zsh.
--
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author