Carl Johnson on 17 Jun 2013 14:57:32 -0700


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

Re: [PLUG] wget options to retrieve file from github


here's an example.....

bnx2-mips-09-6.2.1b.fw is an example of and binary file i pulled from git using git clone
bnx2-mips-09-6.2.1b.bad.fw is an example of the same file pulled using wget.

if you "head" each file you'll see what happened.

https://www.dropbox.com/sh/2jwx6qbp90429l9/B7Hiv3mCim





On Fri, Jun 14, 2013 at 1:53 PM, Douglas Muth <doug.muth@gmail.com> wrote:
On Fri, Jun 14, 2013 at 9:23 AM, Carl Johnson
<cjohnson19791979@gmail.com> wrote:
> would something like this apply to pulling binaries from git too? say if i
> wanted to get some udev fimware for example.
>
> http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/bnx2/bnx2-mips-09-6.2.1b.fw
>
> how would i go about using wget/curl/etc.. to pull it down without turning
> it into HTML? is there a way to do it without git-clone?
>

What do you mean by "without turning it into HTML"?  wget and curl are
pretty content (and content-type) agnostic.  They don't care what
you're downloading.  Can you give me an example?

-- Doug
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug