tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/44246: enhance mv to work better with xargs

mouse%Rodents-Montreal.ORG@localhost (Mouse) writes:

>> I've taken a look at bin/44246 and attempted to implement an
>> enhancement to resolve the PR.

>IMO this is not a defect in mv, but a defect in xargs.
>With my xargs, this would be, eg, "ls -1 | xargs -kX mv X newdir".

And with a standard POSIX xargs it is:

ls -1 | xargs -I X mv X newdir

What are you talking about?

                                Michael van Elst
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index