curl-users
Re: wildcards for uploads
From: Seb <spluque_at_gmail.com>
Date: Thu, 11 Oct 2007 16:23:46 -0500
Date: Thu, 11 Oct 2007 16:23:46 -0500
On Thu, 11 Oct 2007 13:26:28 -0700,
Brian Dessent <brian_at_dessent.net> wrote:
[...]
> You can avoid that ${i#${WD}/} ugliness by using -printf '%P\n' instead
> of -print in the find command. Or just cd to $WD first and then run
> "find .".
I don't use find very often, and its numerous options make dizzy and I can
never remember them. Thanks!
> Also, it seems quite inefficient to have to invoke curl once for each
> file, how about simply:
[...]
It would be nice to do that but curl won't upload multiple files at once
(see previously in the thread), hence the loop.
-- SebReceived on 2007-10-11