Re: FreeBSD Batch Downloads
Blake Watters <[email protected]>
| Newsgroups | gmane.comp.audio.netjuke.user |
|---|---|
| Message-ID | <[email protected]> |
This new commandline seems to work cleanly on Linux as well. I've committed the change to CVS. Thanks Florian! Blake At 05:45 PM 3/9/2003 +0100, Florian Maul wrote: >Hello Elijah, > > > With a little help from one of the users on this list I am able to > > see what the problem is but can't fix it. It seems FreeBSD might use > > a different command line of tar. A man tar tells me that the default > > device for the tar command is a tape drive /dev/sa0 >Right, apparently the freebsd tar uses /dev/sa0 as default output >device unlike the linux tar (GNU tar!?) that sends the output to >STDOUT which the netjuke script batch.php expects. > >Netjuke uses 'tar c -C <basedir> <files>' at the moment, which doesn't >specify stdout as output explicitly. I suggest changing the command to >'tar cf - -C <basedir> <files>' which tells tar to use - (stdout) as >output file. > >I attached a version of batch.php which is changed accordingly. > >Florian ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en