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

Re: A silly question about tar



On 2007-03-17, Andrei Popescu <andreimpopescu@gmail.com> wrote:
> Tyler Smith <tyler.smith@mail.mcgill.ca> wrote:
>> 
>> I have, and unfortunately it doesn't work. The result is the same as
>> the original problem with the regular * expansion:
>> 
>> tyler:tar-> find ./ -name '*.tar.gz' | xargs echo
>> ../one.tar.gz ./three.tar.gz ./two.tar.gz
>> 
>
> It works with 'xargs -n1' (and no need for -1 to ls)
>

Thanks! I originally thought of the same solution as Douglas, but I
didn't know why it wasn't working. Now I do.

-- 
Regards,

Tyler Smit



Reply to: