Slashdot Mirror


Google Introduces Command-Line Tool For Linux

Lomegor writes "'Ever wanted to upload a folder full of photos to Picasa from a command prompt?' Google introduced today a new project, Google CL, that lets you do that and much more. It's a new command line tool for Linux that acts as an interface with Google services; you can upload videos to YouTube or maybe post a new blog post in Blogger in just one line."

210 comments

  1. sudo by TheKidWho · · Score: 5, Funny

    sudo google Skylab -activate -w -terminate "Humans"

    1. Re:sudo by Quarters · · Score: 5, Funny

      I'm unclear as to how a defunct and destroyed cut-rate '70's era NASA space station that was built out of Atlas rocket parts would have either a web server or the ability to annihilate humanity.

    2. Re:sudo by BeardedChimp · · Score: 1

      [sudo] password for TheKidWho:

    3. Re:sudo by Anonymous Coward · · Score: 0

      I believe you mean SkyNet.

      Skylab was the U.S. space station launched in 1973 and destroyed on re-entry in 1979.

    4. Re:sudo by somersault · · Score: 3, Funny

      Me either, but this thing is burning up my village as we spe

      --
      which is totally what she said
    5. Re:sudo by AnonymousClown · · Score: 1

      Atlas? I thought they used a Saturn V that was supposed to be for another Moon mission for it - which made much easier to put it on the Saturn V that put into orbit.

      --
      RIP America

      July 4, 1776 - September 11, 2001

    6. Re:sudo by Anonymous+Psychopath · · Score: 2, Interesting

      I'm unclear as to how a defunct and destroyed cut-rate '70's era NASA space station that was built out of Atlas rocket parts would have either a web server or the ability to annihilate humanity.

      Well, it did rain debris all over Australia. So it's really just a question of accuracy.

      --

      Eagles may soar, but weasels don't get sucked into jet engines.

    7. Re:sudo by Anonymous Coward · · Score: 0, Interesting

      And that's why we need a GUI for these things!

    8. Re:sudo by ClickOnThis · · Score: 4, Informative

      Atlas? I thought they used a Saturn V that was supposed to be for another Moon mission for it - which made much easier to put it on the Saturn V that put into orbit.

      Actually it was a modified S-IVB stage -- the third stage used in the launches of the Apollo moon missions. On Apollo, the S-IVB was used for the insertion of the command and lunar modules into earth orbit, and for their trans-lunar injection.

      --
      If it weren't for deadlines, nothing would be late.
    9. Re:sudo by Anonymous Coward · · Score: 0

      Is this a WHOOSH! moment, or are we just making the humor extra dry?

    10. Re:sudo by Anonymous Coward · · Score: 0

      wow... I bet your a blast at parties.

    11. Re:sudo by catmistake · · Score: 2, Insightful

      cut-rate '70's era NASA space station

      Make a joke, fine, make a point, even better, but you should be old enough to remember SkyLab kicked ass, you insensitive clod!

    12. Re:sudo by Anonymous Coward · · Score: 0

      I can't understand why you would leave out the -v flag for a command like that!

    13. Re:sudo by fishtorte · · Score: 1

      sudo google Skylab -activate -w -terminate "Humans"

      Don't forget the -i flag for interactive mode, so you don't accidentally clobber Scarlett Johansson.

    14. Re:sudo by Sfing_ter · · Score: 1

      I'm sorry Dave, I can't do that.

      --
      A computer once beat me at chess, but it was no match for me at kick boxing. Emo Philips
    15. Re:sudo by Tumbleweed · · Score: 4, Funny

      Well, it did rain debris all over Australia. So it's really just a question of accuracy.

      Pfft, Australia. Like that's a REAL place. Everyone knows that was just a made-up place for those Crocodile Dundee movies. And then the Simpsons did a great take on it. It was a great joke back in the day, but you guys need to let it go already.

    16. Re:sudo by Kingrames · · Score: 1

      Dude you obviously are not a programmer.
      Every goddamned program out there is capable of annihilating humanity and no matter who designed it, the error is inevitably going to be blamed on you until you fix it.

      --
      If you can read this, I forgot to post anonymously.
    17. Re:sudo by MichaelSmith · · Score: 1

      cut-rate '70's era NASA space station that was built out of Atlas rocket part

      Not disagreeing with you but skylab was the best US space station. Look at how long it took to get the ISS working properly. Of course skylab had the advantage of pre-dating the shuttle.

    18. Re:sudo by shiftless · · Score: 1

      You dont have to know how a gun works in order to be killed by one.

      And if that isnt yet a quote by some smart person, then I claim it.

    19. Re:sudo by christian.ost · · Score: 2, Funny

      Every goddamned program out there is capable of annihilating humanity and no matter who designed it, the error is inevitably going to be blamed on you until you fix it.

      by whom?

    20. Re:sudo by nopainogain · · Score: 1

      I think the poster who said "skylab" meant "skynet".

  2. The Lesser Controlled by Rotworm · · Score: 3, Interesting

    I think this is an interesting juxtaposition. I lessly the fonder of Google services because too often it seems things are centralised with the various Google Services. What I liked about Linux was it's decentralisation, that control was distributed to whomever had the capacity and the will to partake.

    I don't suggest it's worthless that I can give content to Google from the command line, but that it seems to ideologically oppose one of the strengths of Linux. And artistic content is one area that is suffering from centralisation. Artistic content builds upon what came before it (I mention that because we're not all Lessig-educated), and copyright is increasingly centralising content to a small number of firms. Giving your content to Google isn't like giving your content to Disney, but it's submitting it to the control of a lessly interested party.

    1. Re:The Lesser Controlled by amRadioHed · · Score: 3, Informative

      What loss of control with Google services? If you want to store your stuff somewhere else it's usually fairly easy to do.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    2. Re:The Lesser Controlled by smallfries · · Score: 2, Funny

      Well you already seem to be using Google Translate to put your posts into english.

      --
      Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
    3. Re:The Lesser Controlled by Anonymous Coward · · Score: 0

      On the other hand, this tool makes it easier to programatically extract data from Teh Googs and move it to whatever other service you decide to use.

    4. Re:The Lesser Controlled by Anonymous Coward · · Score: 0

      That's an interesting comparison of two completely unrelated philosophies. The point of Google Services is that everything is centralized on Google's servers. The point of Linux is to be your operating system.

  3. yes, but... by gandhi_2 · · Score: 2, Insightful

    ...does it run anything besides linux?

    a tool like this would rule for any platform.

    i guess you could just roll your own python script or something.

    1. Re:yes, but... by WrongSizeGlass · · Score: 2, Insightful

      ...does it run anything besides linux?

      Is there something people want to run besides Linux?

    2. Re:yes, but... by blai · · Score: 0, Offtopic

      yeah, Windows.

      I like Linux, but I'm sure there are places where Windows handles things better than a a good kernel relying on a huge collection of patches and hacks.

      --
      In soviet Russia, God creates you!
    3. Re:yes, but... by Anonymous Coward · · Score: 5, Informative
    4. Re:yes, but... by wcoenen · · Score: 1

      Yes, googlecl is written in python so it can run on any platform supported by python.

    5. Re:yes, but... by jkiller · · Score: 1

      I think he meant to type run "from." Please edit your replies.

    6. Re:yes, but... by Anonymous Coward · · Score: 0, Insightful

      but what is this "Windows" you keep referring to ?

    7. Re:yes, but... by camperdave · · Score: 1

      I sometimes wish I still had my Atari 600XL. I could use a good game of Star Raiders to unwind once in a while.

      --
      When our name is on the back of your car, we're behind you all the way!
    8. Re:yes, but... by SwedishPenguin · · Score: 4, Insightful

      Well apparently it's just a python script, so it is available for Windows. Though the last time I tried to use python from the CLI (what little there is) in Windows was a really big hassle, and I ended up just going for an unofficial prepackaged installer for that particular application which bundled Cygwin.

    9. Re:yes, but... by wolftone · · Score: 2, Funny

      Emacs?

    10. Re:yes, but... by clang_jangle · · Score: 0, Flamebait

      It's an obscure, very rickety OS built on top of DOS by a cheeky little company called "microsoft". Obviously they stole the name from the xwindows system, no doubt desperately hoping to cash in on the resulting confusion.

      --
      Caveat Utilitor
    11. Re:yes, but... by EvanED · · Score: 0, Redundant

      Count me in with the Windows crew.

      Actually I guess it would be more precise to say that I really don't want to run Windows, but it tends to piss me off a little less than Linux, BSD, etc. I actually hate both. (I can't speak to OS X; I haven't used it enough. Of course, Apple also refuses to either sell me a copy of OS X I can use on a non-Apple computer* or offer a mid-range, non-all-in-one desktop, so that's not going to change soon either.)

      * Sure, I could set up a hackintosh. But I figure that if a company doesn't want me to give them money, I won't.

    12. Re:yes, but... by Anonymous Coward · · Score: 0

      The python CLI on linux is the same as on Windows... (well you lack middle mouse pasting which sucks but that's basically it). Also if you use the raw cli you are asking for pain anyway. Install ipython and working with the interactive prompt is a breeze.

    13. Re:yes, but... by Anonymous Coward · · Score: 0

      there are other unixes out there besides linux...

    14. Re:yes, but... by obarthelemy · · Score: 5, Insightful
      --
      The Cloud - because you don't care if your apps and data are up in the air.
    15. Re:yes, but... by gig · · Score: 1

      > Is there something people want to run besides Linux?

      Yeah, Macs. All Mac applications can run shell scripts, and Python is included with every Mac, so a Photoshop-to-Picassa workflow would be very easy to create using Google CL. Or BBEdit-to-Blogger.

    16. Re:yes, but... by Sir_Lewk · · Score: 1

      Yes, but the question is who would actually want to use them?

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    17. Re:yes, but... by lavacano201014 · · Score: 1

      You can't even look at the CLI funny without it crying and failing. However, if you use IDLE it's fine.

      --
      A wise man once said, "Where is my other quotation mark?
    18. Re:yes, but... by LambdaWolf · · Score: 2, Insightful

      ...does it run anything besides linux?

      Is there something people want to run besides Linux?

      And is anyone unable to run Linux?

      No, seriously. Install VirtualBox on your Windows system or whatever, throw Xubuntu on a virtual machine, do whatever you want. The software doesn't cost a dime, you can do it with the hardware you have, and it's not even that difficult for a person of moderate geekiness. Okay, so it takes a lot of hard drive space, but gone are the days when you need to go drop a few hundred dollars on another computer or futz around with dual-booting and accidentally trash your MBR if you want a Linux system in addition to your current setup.

      --
      "This algorithm runs in constant time. Come on, 2,147,483,648 is a constant..."
    19. Re:yes, but... by Anonymous Coward · · Score: 0

      Please mod parent commander obvious.

    20. Re:yes, but... by drinkypoo · · Score: 2, Informative

      install python from http://www.activestate.com/activepython/downloads
      download gdata from http://code.google.com/p/gdata-python-client/downloads/detail?name=gdata-2.0.10.zip&can=2&q=
      download googlecl from http://code.google.com/p/googlecl/downloads/detail?name=googlecl-0.9.5.tar.gz&can=2&q=
      unpack gdata and googlecl into their own dirs (I used 7zip)
      in gdata and then googlecl dirs run python setup.py install
      googlecl will be in c:\python26\scripts
      the rest is left as an exercise to the reader but wrapping it in a cmd script is trivial

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    21. Re:yes, but... by h4rr4r · · Score: 4, Insightful

      You said good. Lack of bash = not good.

    22. Re:yes, but... by Anonymous Coward · · Score: 0

      Is there something people want to run besides Emacs?

    23. Re:yes, but... by Anonymous Coward · · Score: 0

      yeah, BSD

      Linux is ok, but I prefer BSD, any flavor. I'm not going to list the reasons why I prefer it to Linux, but I will tell you how Linux is like Apple.

      Everything that Linux does was done by BSD and Windows first. Every time Linux comes out with a new technology, it's usually an answer to or free duplication of some new thing that Microsoft did to fuck you, or some really great utility that was first developed for BSD. Hooray and kudos for Linux in both regards. The way Linux (I guess I should specify not Linux, but penguinistas) is like Apple is in acting like they invented it... like Apple did with package management (AppStore)...

      ok, lame rant over... just upset today that every KVM Is Linux based... why no BSD KVMs?

    24. Re:yes, but... by Anonymous Coward · · Score: 0

      powershell blows goats. try doing something simple such as using the copy-item cmdlet. it's ridiculously slow due to a bad design. now try issuing it against a remote share. you can literally go travel paris, check out the sites and get back for the ending of the copy.

      not to mention the ridiculously *horrible* and *cumbersome* way they implemented the entire shell. how many times must i type the damn '-' character in a freakin command.

      it's also plagued with many bugs, granted it's new, it still sucks.

      keep to python, perl or bash.

    25. Re:yes, but... by Anonymous Coward · · Score: 0

      cashing in?

      you obviously haven't been following their stock price.

    26. Re:yes, but... by mjwx · · Score: 1, Troll

      there's a good CLI for Windows: http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx

      It took Microsoft 16 years to rip off bash

      and they still didn't manage to do that properly.

      --
      Calling someone a "hater" only means you can not rationally rebut their argument.
    27. Re:yes, but... by EvanED · · Score: 1

      If you think PS rips off Bash, then you haven't used one or the other. There are a bunch of things I *don't* like about PS (and actually I don't really use it, but I don't do sysadmin stuff either), but the object piping is awesome.

    28. Re:yes, but... by EvanED · · Score: 1

      The python CLI on linux is the same as on Windows... (well you lack middle mouse pasting which sucks but that's basically it)

      With the standard (terrible) Windows terminal window, you get right-click pasting instead. Just turn on quick edit mode.

    29. Re:yes, but... by EvanED · · Score: 1

      They haven't been doing great (unlike, say, Apple), but at the same time it's not like they're particularly hurting.

    30. Re:yes, but... by iserlohn · · Score: 3, Insightful

      Yeah, but Powershell is to shells like Esperanto is to languages.

    31. Re:yes, but... by mjwx · · Score: 3, Informative

      If you think PS rips off Bash, then you haven't used one or the other. There are a bunch of things I *don't* like about PS (and actually I don't really use it, but I don't do sysadmin stuff either), but the object piping is awesome.

      You've just invalidated your own point. I'm normally a sarcastic bastard when people do this but I've just had breakfast so I'll go easy on you.

      I do use PS and BASH on a daily basis, I am a Linux and Exch 2007 sysadmin so I need to have an understanding of Powershell and BASH (PS is required for Exch 07). PS is trying to be a CLI for a GUI only environment the same as BASH is a CLI for a CLI environment. Both are meant to handle sysamin task and enable scripting. PS is trying to be BASH by centralising all admin and conf tasks, but PS fails because between different programs the syntax and commands are inconsistent and it's overly convoluted. Further more, PS is useless for MS SQL, realistically I only use PS to call SQLCMD.

      Also on Server2008, PS is not installed by default. This is a major screw up if you're really trying to introduce a CLI.

      I'm currently in the Philippines, breakfast here has a high chance of bricking in my digestive system.

      --
      Calling someone a "hater" only means you can not rationally rebut their argument.
    32. Re:yes, but... by EvanED · · Score: 1

      You've just invalidated your own point.

      I don't think you read the thread very carefully.

      My statement as to both PS's strength and novelty is directed solely towards object piping. The presence of piping objects rather than a text text stream is pretty novel. Something like this is about as close as I've seen in any other environment. And I really like the idea. Do you want me to go into why? (That said, I suppose it's possible that if someone would go and write objbash and a corresponding set of utilities it would turn out that it's not all it's cracked up to be, but I have enough experience with programming in general, using REPLs, and using shells that I'm pretty confidant in my assessment of what a well-implemented object-based shell would do for you.)

      That already justifies what I said in my previous post: the object piping already makes PS quite far from a ripoff of Bash. The rest of the stuff you say about the consistency of the utilities PS provides is really irrelevant to this point, no matter how true it is.

      (For the record, the reasons I dislike PS involve: (1) subjectively very long startup times, (2) the fact that it's not installed by default and setup seems harder than it "should" be, and (3) the failure to fix several of the things I don't like about the native cmd.exe, at least without more investigation (e.g. the tab-completion behavior, behavior of the up and down arrow keys, and the continued use of the awful terminal that Windows provides). Add to that the ability to drop to Cygwin Bash or SSH to a real Linux box for a moment for things that are more complicated than 98% of what I do in the shell, and you don't have a particularly compelling use case for PS.)

    33. Re:yes, but... by Anonymous Coward · · Score: 0

      The moderation of the parent (as well as the replies) proves that the transformation from slashdotters to slashtards is now 100% complete.

      Congratulations, you fucking idiots!

    34. Re:yes, but... by Anonymous Coward · · Score: 0

      Windows, dumbass.

    35. Re:yes, but... by Hognoxious · · Score: 1

      Bit of a shit result against Serbia, nicht war?

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    36. Re:yes, but... by Anonymous Coward · · Score: 0

      You said good. Lack of bash = not good.

      Actually the correct syntax would be lackofbash==notgood

      I'm sure someone will correct this too...

    37. Re:yes, but... by Low+Ranked+Craig · · Score: 0

      Want to run? OS X. Have to run? Windows.

      --
      I still cannot find the droids I am looking for...
    38. Re:yes, but... by nxtw · · Score: 2, Funny

      I don't get it - what is this supposed to mean?

      • Do you think I'm a German? I'm not, although I do have significant German ancestry.
      • Do you think I'm a Serbian? I'm not.
      • Do you think I have some interest in the German national team? I don't.
      • Do you think I have some interest in the Serbian national team? I don't.
      • Do you think I have some interest in the World Cup as a whole? The only match I've watched in full was last Saturday's between ENG and USA; I haven't even turned on a TV to display a GER match in the background.
      • Do you think I understand German? I identified "nicht" and "war" as words in the German language, but I couldn't recall the meaning of the phrase "nicht war". It's not great that I couldn't figure it out without computer translation, but it's ultimately insignificant. To quote the postmodern philosopher Jules Winnfield: "English, motherfucker! Do you speak it?"
    39. Re:yes, but... by Kingrames · · Score: 1

      Huh?
      Oh, a car analogy. I get it!

      --
      If you can read this, I forgot to post anonymously.
    40. Re:yes, but... by Anonymous Coward · · Score: 0

      Nope, just you.

    41. Re:yes, but... by 5plicer · · Score: 1

      Is there something people want to run besides Emacs?

      Vim.
      Also, google docs edit --title "Shopping list" --editor vim is pretty slick :)

      --
      The bits on the bus go on and off... on and off... on and off...
    42. Re:yes, but... by fredboboss · · Score: 2, Interesting

      I don't get your point, you should develop a little further.

      The Python installer for windows is rather painless, launch setup.exe and it's done.

      Plus though the cmd.exe console is rather minimalistic a few Python scripts would offer you a minimum of the command line expressiveness.

      At my workplace we are stuck by microsoft lock-in, I bless the possibility I've had to develop a bunch of Python scripts over the years for to ease the burden of having to work in a windows environment.

    43. Re:yes, but... by sandoval88419 · · Score: 2, Insightful

      I don't understand how do you get your mod points for such misleading advertisement. Power shell proves ms is really far from mastering the concepts that make an efficient CLI.

    44. Re:yes, but... by RichiH · · Score: 1

      > You said good. Lack of bash = not good.

      Gee, it's so easy to tell people who never used zsh :)

    45. Re:yes, but... by Tei · · Score: 1

      you probably mean cygwin...

      --

      -Woof woof woof!

    46. Re:yes, but... by Hognoxious · · Score: 1

      Do you think I'm a German? I'm not, although I do have significant German ancestry.

      It doesn't show. Well not much.

      (Second row down, third from the left, since you're obviously a bit slow on the uptake).

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    47. Re:yes, but... by xOneca · · Score: 1
      I don't remember where did I see this:

      Windows [n.] - A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.

      Helps you?

    48. Re:yes, but... by arth1 · · Score: 1

      Python? So it has extra requirements, then, requiring a fairly common but far from standard interpreter with a memory footprint precluding its use on many embedded devices? (This thing could be useful to put on a NAS, but those tend to have a total of 128 or 256 MB RAM.)

      If the programmers can't do it in sh and C, they don't care about the software enough to deserve having it installed. Ah well, at least it wasn't Java. :-P

    49. Re:yes, but... by marcosdumay · · Score: 1

      That's right. But nobody uses the python CLI to run python scripts.

    50. Re:yes, but... by Anonymous Coward · · Score: 0

      Windows 1.0 came out in 1983, X1 came out in 1984. It's confusing, but I don't see how they would make money off of it.

    51. Re:yes, but... by Anonymous Coward · · Score: 0

      I dunno I'd rather have AIX on IBM hardware or Solaris on Sun hardware any day. There are features in AIX especially that are so far ahead of Linux you would cry if you saw them. Hell even flawless ZFS support in Solaris is better than what you have in Linux right now.

    52. Re:yes, but... by Rossome · · Score: 1

      PS is useless for MS SQL...


      function sql-connect( [string] $connStr = "Data Source=PUT_SERVER_HERE; Initial Catalog=PUT_DATABASE_HERE; UID=PUT_USERID_HERE; PWD=PUT_PASSWORD_HERE;" )
      {
              $Global:conn = new-Object System.Data.SqlClient.SqlConnection( $connStr )
              $conn.Open()
      }

      function sql-disconnect()
      {
              $conn.Close()
      }

      function select-sql( [string] $sql )
      {
              $cmd = new-Object System.Data.SqlClient.SqlCommand($sql, $conn);
              $rdr = [System.Data.SqlClient.SqlDataReader]$cmd.ExecuteReader();

              $datatable = new-Object System.Data.DataTable
              $datatable.Load($rdr)
              $rdr.Close()

              return $datatable
      }

      function execute-sql( [string] $sql )
      {
              $cmd = new-Object System.Data.SqlClient.SqlCommand($sql, $conn);
              $retval = $cmd.ExecuteNonQuery();

              return $retval
      }

    53. Re:yes, but... by Anonymous Coward · · Score: 0

      Powershell may or may not be any good. I've never used it. One thing I do know - saying Powershell is not good because it's not Bash is what we call "bigotry". Not recommended.

    54. Re:yes, but... by dasacc22 · · Score: 1

      install console2 from sourceforge, install msysgit and have it add itself to your path, set your startupshell in console2 to the git bash, and you get all kinds of goodies including ssh utils

    55. Re:yes, but... by mjwx · · Score: 1

      But I can do the same with SQLCMD by calling a SQL script I wrote previously using the tools SQL has built in. Redundant and adds no new functionality (that means it's useless).

      --
      Calling someone a "hater" only means you can not rationally rebut their argument.
    56. Re:yes, but... by Anonymous Coward · · Score: 0

      Bash stinks. I go with zsh.

    57. Re:yes, but... by xiong.chiamiov · · Score: 1

      You said good. Lack of bash = not good.

      O rly?

  4. Cool, but... by Anonymous Coward · · Score: 2, Funny

    ....someone ought to write a GUI front end for it.

    1. Re:Cool, but... by wiredlogic · · Score: 5, Funny

      ....someone ought to write a GUI front end for it.

      Make it web based at that.

      --
      I am becoming gerund, destroyer of verbs.
    2. Re:Cool, but... by Anonymous Coward · · Score: 0

      Of course make it web-based, so I can access it from Lynx.

  5. Nerd RAGE! by grasshoppa · · Score: 3, Funny

    A single tool to do EVERYTHING?

    It's like they don't even USE linux.

    --
    Mod me down with all of your hatred and your journey towards the dark side will be complete!
    1. Re:Nerd RAGE! by dotgain · · Score: 1

      It's like they don't even USE linux.

      An example of a relatively recent, and linux-specific command, is 'mdadm'. (for managing Linux Software RAID in case you weren't aware). All of its submodes are selected as the first argument. This is an example of a utility that was undoubtedly created by core Linux Developers, and would seem contradictory to your ideal.

    2. Re:Nerd RAGE! by Anonymous Coward · · Score: 0

      It's like they don't even USE linux.

      An example of a relatively recent, and linux-specific command, is 'mdadm'. (for managing Linux Software RAID in case you weren't aware). All of its submodes are selected as the first argument. This is an example of a utility that was undoubtedly created by core Linux Developers, and would seem contradictory to your ideal.

      I'd blame you for not using your sarcasm detector, but they got marked insightful!

    3. Re:Nerd RAGE! by icebraining · · Score: 1

      Also graphicsmagick and surfraw, at least (although the last can simulate it with soft links).

    4. Re:Nerd RAGE! by Anonymous Coward · · Score: 0

      This all reminds me of the windows NET commands when you are 4 options deep and still need to look up help to select one more it's just a little bit OTT

    5. Re:Nerd RAGE! by grasshoppa · · Score: 1

      I had hoped that the subject line would give light to the fact that I was being sarcastic.

      I really should have known better.

      --
      Mod me down with all of your hatred and your journey towards the dark side will be complete!
    6. Re:Nerd RAGE! by dotgain · · Score: 1
      Sorry. My interpretation was probably more due to dopiness on my part than your writing, though I'm glad I'm not the only one, and as politely as I can do so, I agree you 'should have known better'.

      I guess my genuine belief that there really are people who would feel that way (especially here) and respond with a similar comment got in the way of considering you were being sarcastic.

    7. Re:Nerd RAGE! by soppsa · · Score: 1

      modded up by the ignorant ubuntards who think LEENUX IS COOL and have no idea what they're talking about

  6. Search by MrEricSir · · Score: 2, Interesting

    Too bad it doesn't support Google Search.

    --
    There's no -1 for "I don't get it."
    1. Re:Search by mgpyone · · Score: 1

      how comes if it supports Search ? =D

    2. Re:Search by Dragonslicer · · Score: 1

      Too bad it doesn't support Google Search.

      While a Google-produced tool might do something nice as far as the format of the data, there's already a command line program for Google search called wget.

    3. Re:Search by TheSpoom · · Score: 1

      You'll never see Google support extraction of search data from a non-web interface. The reason is because once you have the data, it's all too easy to strip out the sponsored links that provide Google its revenue.

      A shame, too, because a lot of good uses would come from third parties being able to CRUD Google search results. Of course, underground, everyone and their mother uses regular expressions and HTML parsers to grab Google results anyway, but it'll never be officially supported (and I don't count the AJAX search as you still can't get the data in a database usable form).

      --
      It's better to vote for what you want and not get it than to vote for what you don't want and get it.
      - E. Debs
    4. Re:Search by sakdoctor · · Score: 1

      Like it's not already easy to strip out the sponsored links from the HTML.

    5. Re:Search by Anonymous Coward · · Score: 1, Informative

      This was intentional. Google used to have a web service allowing you to programatically call the search API, but they got rid of it years ago. They don't want you bypassing their ads.

    6. Re:Search by TheSpoom · · Score: 1

      Sure, but if they find out you're accessing Google with a bot, they'll ban you.

      --
      It's better to vote for what you want and not get it than to vote for what you don't want and get it.
      - E. Debs
    7. Re:Search by sindarta · · Score: 0

      wget just downloads the files, you could instead use w3m google.com/search?&q=SEARCHTERM (or lynx if you are not interested in the image results).

    8. Re:Search by sean4u · · Score: 1

      I'm writing a search engine 'just because' and I considered replying to your comment with an URL for it that would return a text/plain result. But what would anybody want in it that would be better than an XML (which I assume - in that annoying, couldn't-be-arsed-to-check-my-facts way - is already available from the search engine giants) result which could be post-processed for plain text?

      It's not an idle question - I was just about to start editing code, but then I couldn't see the point. Maybe they couldn't either. It would be child's play to provide text/plain search results, I just can't imagine (in the few minutes I tried) how they would be used.

  7. goosh by Anonymous Coward · · Score: 0

    www.goosh.org

    1. Re:goosh by mrclisdue · · Score: 1

      very cool, thank you

  8. gmail.... by Anonymous Coward · · Score: 0

    it needs gmail support

    1. Re:gmail.... by icebraining · · Score: 1

      Turn IMAPS/POPS and SMTPS on. There's hundreds of CLI utilities for it...

  9. Not just for Linux by sockonafish · · Score: 2, Informative

    It's written in Python and will run on any platform that Python will run on. That's pretty much every platform.

    1. Re:Not just for Linux by Bottles · · Score: 5, Funny

      Except for actual, living pythons. To be fair, though, they are less a platform and more a series of tubes.

    2. Re:Not just for Linux by MrHanky · · Score: 2

      Every platform except the closed ones that don't allow you to run an interpreter, of course.

    3. Re:Not just for Linux by Shados · · Score: 1

      Its rare that someone will say something that makes Windows fall in the "open" category.

    4. Re:Not just for Linux by Anonymous Coward · · Score: 0

      Correction: Python will not run on ANY platform. By definition, it'll crawl and slither. You want it to run? Python doesn't have a leg to stand on! Also if you want to truly understand python, you'll need a lisp interpreter.

    5. Re:Not just for Linux by dotgain · · Score: 2, Insightful

      Every platform except the closed ones that don't allow you to run an interpreter, of course.

      So, basically it runs on everything except the ZX81 and the iPhone

    6. Re:Not just for Linux by gig · · Score: 1

      He meant "every [PC] platform", obviously. No, you can't run this on a game console or an iPod or a GPS.

    7. Re:Not just for Linux by defaria · · Score: 2, Insightful

      Just not so. You can write unportable python just as you can with any language. Step one, code in an assumption that is only present on the current platform, e.g. make a call to execute a command such as, say, diff(1) which exists on Linux but not on Windows. Or use a Windows only style pathname (e.g. C:\Windows\Temp) or even rely on functionality that one very similar architecture has but the other doesn't (e.g. execute an ll command, which only works on HP-UX, or a ps command which has different options on different OSes or say an ls --auto=color on Solaris). Just because the language exists on an architecture does not mean that you cannot foolishly doing something in that language that is architecturally dependent on a specific architecture, thus rending your script non-portable and non-operational on other architectures.

    8. Re:Not just for Linux by Anonymous Coward · · Score: 0

      Like the internet. ;-)

    9. Re:Not just for Linux by Thantik · · Score: 1

      Actually, even jailbroken iPhones have a Python interpreter.

    10. Re:Not just for Linux by Anonymous Coward · · Score: 0

      There's a ton of GPS systems that use linux or (older ones especially) WinCE. You can target-compile python for them just fine. A google of "python on ipod" shows me a solution, and XBMC used python internally (XBox/XB360 down) and the PS3 ran it just fine until Sony screwed up linux support in that last firmware update.

      The Wii? I don't know. I've got a python interpreter on my Nintendo DS via R4DS card, of course. Linux smartphones all would, obviously... ah, it doesn't really get more universal.

    11. Re:Not just for Linux by Anonymous Coward · · Score: 0

      Brilliant deduction, Holmes.

    12. Re:Not just for Linux by IrquiM · · Score: 1

      you can run it on my game console, my GPS, my DVB-S2 tuner and my phone! I don't have an iPod, but if I wanted one, it would be one that could run it as well....

      --
      This is blinging
    13. Re:Not just for Linux by rolando2424 · · Score: 1

      You can use the OS module to try and abstract some of those problems. For example, os.mkdir() or os.chdir() always does the right thing, using the string os.sep (if I recall correctly, it's been a long time since I've last used it), although I've just noticed that os.chdir() only works on Unix and Windows, so I guess your point still stands.

      --
      Okay seriously I've just run out of pointless things to say.
    14. Re:Not just for Linux by shiftless · · Score: 1

      Windows has always been an open platform (in policy or de facto), in terms of the tools needed to develop for it.

    15. Re:Not just for Linux by shiftless · · Score: 1

      And just how is any of this relevant, given that the script in question deals with NETWORK access? Something I assume Python provides a stable and known interface to?

  10. Re:namespacing by Lord+Bitman · · Score: 5, Insightful

    organized into separate modules, but called as "google subcommand" so that you can still have a command called "picassa" and "blogger" and "search"... sounds good to me.

    "do one thing, do it well" doesn't mean "make a thousand poorly-named tools and clutter /usr/bin"

    "google foo" does one thing, does it well.
    "google bar" does one thing, does it well.
    "google" does one thing, does it well (passes commands to a dispatcher)

    you're basically complaining about seeing a space where you pointlessly want a hyphen.

    --
    -- 'The' Lord and Master Bitman On High, Master Of All
  11. Re:sudo REWIND by interval1066 · · Score: 2, Informative

    sudo google SkyNet -activate -w -terminate -prejudice:extreme "Humans" && sudo google -reboot | grep "reality"

    --
    Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
  12. Works really well by itamblyn · · Score: 2, Funny

    For anyone that spends a lot of time on the command line, this is pretty huge.

    1. Re:Works really well by Anonymous Coward · · Score: 0

      Except the majority of people, who don't use google's services, besides search and browsing youtube, which were not included...

    2. Re:Works really well by Anonymous Coward · · Score: 0

      Yeah, wake me up when they port it C. Not like anybody using the command line already has a bunch of shell scripts that pass the appropriate options and arguments to wget/curl.

      Zzzzzzzz!

  13. google roullette is now complete by Anonymous Coward · · Score: 4, Interesting

    sudo $(googlecl imfeelinglucky malicious commands)

    1. Re:google roullette is now complete by GNUALMAFUERTE · · Score: 1

      Oh ... that is fucking amazing.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    2. Re:google roullette is now complete by shiftless · · Score: 2, Funny

      i type this in my console an it formmated my hard drive u dick

  14. Name clash! by martin-boundary · · Score: 2, Interesting

    There's already a "google" command line command bundled with surfraw. You can type google searchstring and it will launch a browser with the results. I use w3m as the browser, which makes it easy to pipe the results into a script if I need to.

    1. Re:Name clash! by Aladrin · · Score: 1

      So some random person made a command with the name of an extremely famous company and you think it's the company's fault for picking that name for the command?

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
    2. Re:Name clash! by martin-boundary · · Score: 1
      Surfraw has been around for ages, and this isn't a new type of naming problem. When Google chose Chromium for its open source browser, there already existed an open source project called Chromium.

      Forgive me if I expect Google's engineers to do a quick google search before picking a name that's already been taken for a few years.

    3. Re:Name clash! by retchdog · · Score: 1

      I'd frankly rather that Google® crush the waste of disk space and net traffic that comprise that crappy cutrate shmup.

      --
      "They were pure niggers." – Noam Chomsky
    4. Re:Name clash! by Anonymous Coward · · Score: 0

      Well, there was also a name clash of chromium (the browser) vs. chromium BSU, a classic videogame that's been available on Debian since ages. Unfortunately, the popularity of Google made the old, well stablished game's package be renamed.

    5. Re:Name clash! by Anonymous Coward · · Score: 0

      I'm sure a google search of google would have worked out great.

    6. Re:Name clash! by Anonymous Coward · · Score: 0

      Since surfraw's 'google' is just a shorthand for 'sr google', which is a shorthand for 'surfraw google', google's 'google' clearly has priority.

      Any script writer should take such things into account for portability and use the long version anyway, so no harm done when replacing :)

      Also, google is still the name of a company, you should use 'websearch' or 'google-websearch' as a verb or command consistently. ;)

    7. Re:Name clash! by RichiH · · Score: 1

      Yah, I used to have an alias which would clash, as well.

      To be fair, they kind of have a claim to the name, though.

      Just alias your google binary to gg. apt-file search tells me it's still free :)

    8. Re:Name clash! by Anonymous Coward · · Score: 0

      Forgive me if I expect Google's engineers to do a quick google search before picking a name that's already been taken for a few years.

      I feel like Google has had a trademark on "google" for more than a few years... I'm pretty sure that entitles them to use it for whatever the hell they want.

    9. Re:Name clash! by thetoadwarrior · · Score: 1

      surfraw may have been around for ages but I do believe Google should be entitled to use their own name. That game is technically Chromium B.S.U. Not that it matters since no one has probably heard of it until your post.

    10. Re:Name clash! by quickOnTheUptake · · Score: 1

      Nope, I heard of it after I naively ran apt-get install chromium

      --
      Mod points: Guaranteed to remove your sense of humor.
      Side effects may include gullibility and temporary retardation
  15. Re:namespacing by PrecambrianRabbit · · Score: 1

    But if they were separate hyphenated commands then they'd tab complete! /laziness

  16. okay by nimbius · · Score: 1

    so i didnt RTFA but i cant help wondering if this headline is just better written as "google writes linux script!"

    generally you see people working in a command line, because they have some insight or minimal inclination to program things
    of this nature. one has to wonder what google has achieved here if the majority of command line users in a few hours or days
    could just as easily have crafted the same thing.

    --
    Good people go to bed earlier.
    1. Re:okay by badboy_tw2002 · · Score: 1

      Um, they saved a majority of command line users a few days or hours, and the minority that couldn't do this themselves now can. Anything else you're wondering about?

    2. Re:okay by Joe+Tie. · · Score: 4, Interesting

      If you're not familiar with google's api it's a pretty large time investment. Partially because of the size, but also because they're often not the most up to date. A lot of the doc api for example doesn't work with docs created under the system that's been up for a few months now. But that fact isn't listed anywhere in their documentation, or even very easy to find by searching because the error message is so generic and uninformative.

      --
      Everything will be taken away from you.
    3. Re:okay by nxtw · · Score: 1

      I've found documentation coming out of Google to be somewhat weak. The docs for GWT, for example, are lacking in some areas - they don't even have complete Javadoc coverage AFAIK.

      And using Google to look for GWT information isn't always useful, as it returns a lot of pages that no longer apply to the latest version of GWT. I also get lots of results for old Java documentation - look up anything in the Java libraries, and the results from Sun will probably be for Java 1.5 or 1.4.2 or even earlier, not Java 1.6.

    4. Re:okay by moonbender · · Score: 1

      I've found documentation coming out of Google to be somewhat weak. The docs for GWT, for example, are lacking in some areas - they don't even have complete Javadoc coverage AFAIK.

      And using Google to look for GWT information isn't always useful, as it returns a lot of pages that no longer apply to the latest version of GWT. I also get lots of results for old Java documentation - look up anything in the Java libraries, and the results from Sun will probably be for Java 1.5 or 1.4.2 or even earlier, not Java 1.6.

      That's because the Java 5 and maybe even the Java 1.4.2 docs are referenced more often than the more recent releases. Deployed more often, too, so it often makes sense to refer to the Java 5 docs since that's gonna be the runtime environment, anyway. I rarely get anything older than the J2SE5.0 docs, though -- I used to google for "java 5 keyword" to get the correct docs, but these days they are the default top result. Googling for "java 6 keyword" or java 7 keyword" reliably returns those API docs, so the problem is easily avoided.

      I agree that the GWT docs are lacking. It's a rapidly moving target, though, so maybe it'll get better once it's more stable. I'm not sure, though. Anyway it's low quality is particularly noticeable since the Javadoc Sun authored is generally very high quality.

      --
      Switch back to Slashdot's D1 system.
    5. Re:okay by shiftless · · Score: 1

      one has to wonder what google has achieved here if the majority of command line users in a few hours or days
      could just as easily have crafted the same thing.

      Is this an actual question? Who is asking this? Please tell me someone else told you to ask this, and you naively agreed and clicked Submit before reading it, unaware that you were just about to look like a dumb ass in front of the entire world. (Hi mom!) I mean, what has Ford achieved by building a car that you could have spent a few hours and days yourself building, given that you had the knowledge, resources, and means to do it? Seriously man, give it some thought.

  17. Re:namespacing by Anonymous Coward · · Score: 0

    Dear Lord Biteme,
    I believe grasshoppa is the teacher this evening. The lesson? A brand new word: whoosh !!


    Best Wishes, Your Pal,
    Capt. Obvious

  18. Thank you! by garcia · · Score: 4, Informative

    Google updated Google Docs recently and I found that the new version didn't support some of the Gadgets that the old version did. I became quite concerned that the old and hackalicious python scripts I was using to upload CSV files that power my website's crime dashboards--something which would suck to have to recode.

    I'm going to have to check this out and see if it works much in the same way like allowing me to just replace a Google Docs spreadsheet that already exists something which I require to keep my old code working.

    Nice to see that they are continuing to make their commandline tools easier to use as I have to admit I was having some problems getting the ones I currently use to work but now that they are I certainly don't want to loose that functionality (I am good at using those scripts, just not coding new ones so any of the troll comments which say I should do it myself are not necessary, thanks :))

    1. Re:Thank you! by garcia · · Score: 2, Insightful

      Err I was concerned they wouldn't work when Google switched to the full on new version. I need a beer.

  19. Re:namespacing by dotgain · · Score: 2, Informative

    You need to look into bash-completion. Tab-completion works for command line params too. Fairly well, anyway.

  20. Re:namespacing by Hurricane78 · · Score: 2, Informative

    Protip:
    for C in $GOOGLE_COMMANDS; do echo "google $C $*" > "/usr/local/bin/google-$C"; chmod +x "/usr/local/bin/google-$C" done
    It’s not an appliance UI, but a real OS. Meant to help you automate things and fit like a glove. Use it!

    --
    Any sufficiently advanced intelligence is indistinguishable from stupidity.
  21. I wrote a google CLI tool once by sootman · · Score: 0, Redundant

    Some guy used to always post the worst questions to a list I was on. Like, the kind of stuff where you could google the subject line of his email and get the answer. So I wrote...#!/bin/sh
    lynx -dump google.com/search?q=$1+$2+$3+$4+$5 | mail -s "Automated response" list@example.com
    What I really wanted was for the list admin to put a filter on the server that would automatically take his messages and do that.

    --
    Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    1. Re:I wrote a google CLI tool once by icebraining · · Score: 0, Offtopic

      Sending HTML to a mailing list? For shame...

    2. Re:I wrote a google CLI tool once by sootman · · Score: 1

      lynx -dump parses the HTML. It would be like going to a web page with a browser and then select all, copy, paste. curl will give you HTML source.

      --
      Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    3. Re:I wrote a google CLI tool once by icebraining · · Score: 1

      Oh, OK. Sorry then.

    4. Re:I wrote a Google CLI tool once by troll8901 · · Score: 1

      ... you could google the subject line of his email and get the answer.

      Oh, what I would GIVE to have other people write proper subject lines in their emails!

  22. linux by helix2301 · · Score: 1

    I must saying being a big linux user this is a really cool tool. I like the way it kind of gives me that putty ssh feeling. lol :)

  23. I wrote a Google CLI tool once by sootman · · Score: 4, Funny

    (Crap, hit 'submit' instead of 'preview')
    I used to be on a list and this one guy would always post the worst questions--the kind of stuff where you could google the subject line of his email and get the answer. So I wrote...
    #!/bin/bash
    lynx -dump google.com/search?q=$1+$2+$3+$4+$5 | mail -s "Automated response" list@example.com

    What I really wanted was for the list admin to put a filter on the server that would automatically take his messages and do that to them. Of course I never actually used it. :-) I eventually just filtered him.

    --
    Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
  24. Mac OSX works great too by Anonymous Coward · · Score: 0

    Although I wish "google calendar list" returned dates and times instead of just titles and urls.

  25. Re:namespacing by Threni · · Score: 1

    Sounds like Busybox...

  26. Re:sudo REWIND by Josh04 · · Score: 3, Funny

    I'm unclear as to how a defunct and destroyed cut-rate '70's era British Armed Forces Comms satellite that never made it out of geostationary orbit would have either a web server or the ability to annihilate humanity.

  27. Re:lINUX uSERS sO sTUPID cANT uSE gui !! by jedidiah · · Score: 1

    It's not that we can't. We would rather just not be bothered.

    GUIs for all of their niceties tend to take a O(c) problem and turn them into a O(n) problem.

    If I wanted to spend all day pushing pretty buttons, I would have acquired an OS with them.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  28. Re:namespacing by whoever57 · · Score: 1

    Protip:
    for C in $GOOGLE_COMMANDS; do echo "google $C $*" > "/usr/local/bin/google-$C"; chmod +x "/usr/local/bin/google-$C" done

    How about:
    for C in $GOOGLE_COMMANDS; do alias $C="google $C" ; done
    Put in a script that is executed by all users.

    --
    The real "Libtards" are the Libertarians!
  29. Command to load pictures to Picasaweb by Anonymous Coward · · Score: 1, Interesting

    It wants me to log in. It tells me

        The site anonymous is requesting access to your Google Account for the product(s) listed below.

    What is the security implication to granting access to "site anonymous?"

    Somehow it seems right to post this as AC. ;)

  30. Nifty, but... by sootman · · Score: 4, Interesting

    ... it'd be equally cool if they had a really open API and you could just use a script with curl to upload.

    --
    Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    1. Re:Nifty, but... by Avumede · · Score: 1

      They do, the gdata APIs, which is what I believe this tool is based off of.

      An overview all the different APIs is here:
      http://code.google.com/more/

  31. Sadly, no Google Voice support, but.. by az1324 · · Score: 2, Interesting

    Don't see anything for Voice in there, but thankfully there's already http://code.google.com/p/pygooglevoice/

  32. can you... by Memroid · · Score: 1

    backup files to gmail?

    1. Re:can you... by xororand · · Score: 2, Informative

      I'm not sure but there's GMailfs, a FUSE filesystem that uses GMail's IMAP interface.

  33. Re:sudo REWIND by Anonymous Coward · · Score: 0

    You're still doing it wrong... Linux conventions dictate that whole word options be preceded with a double hyphen:

    sudo google SkyNet --activate -w --terminate --prejudice:extreme "Humans" -vvvvvvvvvvvvv && sudo google --reboot | grep "reality"

    Also, I want to see it happening so we're going with a highly verbose output. :)

  34. Re:namespacing by value_added · · Score: 2, Informative

    Not sure what problem that's meant to solve, but the more standard (and IMHO, manageable) approach to using a shell script that's called by different names would be to use a construct like the following:

    #!/bin/sh
    #
    # ~/bin/myscript - call a script by multiple names
    #
     
    scriptname=${0##*/}
     
    case $scriptname in
        foo) echo "You called $scriptname as foo" ;;
        bar) echo "You called $scriptname as bar" ;;
        baz) echo "You called $scriptname as baz" ;;
    esac

    Link scriptname to foo, bar and baz, and Bob's yer uncle. And if relying on bash, no aliases or functions to clutter up bash's cluttered namespace. Then again, the above is probably similar to what Google's Python script does, so I'm not really sure WTF either of us are talking about. ;-)

    A note to the OP: before commenting on how Real Unixy Tools work, have a look at the manpage for openssl(1).

  35. Re:sudo REWIND by fishtorte · · Score: 1

    Linux conventions dictate that whole word options be preceded with a double hyphen

    Isn't that a GNU convention?

  36. git blame by Anonymous Coward · · Score: 0

    Linus Torvalds used exactly the same scheme for git. Geez, it's like he didn't even WRITE linux.

  37. Re:namespacing by Captain+Spam · · Score: 1

    But if they were separate hyphenated commands then they'd tab complete! /laziness

    git cherry-<TAB>

    That turns up git cherry-pick, at least with my install of zsh on Linux and OS X. And if I just do git cher<TAB>, I even get descriptions of both the cherry and cherry-pick commands.

    So it'll just be a matter of time before this gets integrated with most distros' packages of most shells, I say.

    --
    Demanding constant attention will only lead to attention.
  38. That _was_ cool... by SanityInAnarchy · · Score: 1

    ...but now Google Docs store arbitrary files, and Google Storage has a very Amazon S3-like API.

    --
    Don't thank God, thank a doctor!
    1. Re:That _was_ cool... by Ash-Fox · · Score: 1

      Isn't the space extremely limited on Google docs?

      --
      Change is certain; progress is not obligatory.
    2. Re:That _was_ cool... by SanityInAnarchy · · Score: 1

      Apparently not. Certainly not more limited than Gmail.

      GMailFS was cool, but ultimately a brutal hack compared to a service that's actually designed to offer storage.

      --
      Don't thank God, thank a doctor!
  39. Re:namespacing by Anonymous Coward · · Score: 0

    A note to the OP: before commenting on how Real Unixy Tools work, have a look at the manpage for openssl(1).

    Indeed. Or BusyBox. Or GraphicsMagick. Or cvs and svn... etc...

  40. Awesome tools by kokoko1 · · Score: 2, Informative

    Just tried the GoogleCL on my Fedora 12 and it works without any issue, personally (its only me) I like the googlecl. For folks want to try it on there Fedora box here is the link to my blog http://askaralikhan.blogspot.com/2010/06/googlecl.html

    --
    http://askaralikhan.blogspot.com/
  41. Re:namespacing by RichiH · · Score: 1

    > you're basically complaining about seeing a space where you pointlessly want a hyphen.

    A lesson painfully learned by git.

  42. Re:namespacing by noidentity · · Score: 1

    Reminds me of how some C++ programmers just have to be able to write foo.func() rather than func(foo), even in cases when the latter approach yields more flexibility. I've heard them described aptly: syntax fetishists. Sounds like the same issue someone has with "google foo" over "google-foo".

  43. Linux isn't UNIX. It's not even an OS. by chaoskitty · · Score: 4, Informative

    "Google Introduces Command-Line Tool For Linux"

    is about as relevant as saying

    "Google Introduces Command-Line Tool For Blue Computers" because blue is your favorite color. Sure, it'll run on blue computers, but it wasn't MADE FOR blue computers. Nor were these tools MADE FOR Linux. They'd have to be written as kernel modules to be made for Linux.

    Anyhow, Linux isn't even an OS - it's a kernel. Just try to run Linux sometime without GNU and let me know how that works out for you.

    Sure, so-called "tech journalists" think that every UNIX thing in the world is really a Linux thing, and sure, no "tech journalist" will ever properly call the OS GNU/Linux, but Slashdot? You people have to be a better example for everyone else.

    1. Re:Linux isn't UNIX. It's not even an OS. by Anonymous Coward · · Score: 0

      will ever properly call the OS GNU/Linux, but Slashdot?

      Nah! I prefer to call it Debian

    2. Re:Linux isn't UNIX. It's not even an OS. by Anonymous Coward · · Score: 0

      Hi Rick!

    3. Re:Linux isn't UNIX. It's not even an OS. by Anonymous Coward · · Score: 0

      "Anyhow, Linux isn't even an OS - it's a kernel. Just try to run Linux sometime without GNU and let me know how that works out for you."

      Actually, it's what happen on my Android phone and it works pretty well, thanks for asking.

    4. Re:Linux isn't UNIX. It's not even an OS. by Anonymous Coward · · Score: 0

      Anyhow, Linux isn't even an OS - it's a kernel. Just try to run Linux sometime without GNU and let me know how that works out for you.

      My router runs Linux pretty well without GNU software.

    5. Re:Linux isn't UNIX. It's not even an OS. by Anonymous Coward · · Score: 0

      GNU zealots, trying hard to ignore BSD. Linux could use BSD userland easily if someone ported it. And it has existed since before the beginning of Linux. And that way Linux would get to actually adhere to standards.

      Besides that, a working POSIX kernel is more than half an OS. Rewriting the tools is trivial as most of the behavior is in the kernel and many undergrads do it for the lulz(or did until they introduced Java and everything went downhill).

      The only reason it is still GNU/Linux is that you haven't been annoying enough yet.

    6. Re:Linux isn't UNIX. It's not even an OS. by Urkki · · Score: 1

      Anyhow, Linux isn't even an OS - it's a kernel.

      Linux is an OS, or rather a class of operating systems, when used in sentences like "There is a Linux version of Firefox". It doesn't mean there is a version of Firefox for Linux kernel, so "Linux" there doesn't refer to Linux kernel. It doesn't even refer to all operating systems based on Linux kernel, since "Firefox for Linux" can't run on all popular Linux-based operating systems (eg. Android, which would have Firefox for Android, not Firefox for Linux, no matter the kernel).

      If you disagree with the usage, offer an alternative that means the exact thing that is meant in all the places which now say "application software X for Linux". If you don't disagree with an usage, then please tell what "Linux" in the sentence is, if it isn't a class of operating systems?

    7. Re:Linux isn't UNIX. It's not even an OS. by Anonymous Coward · · Score: 0

      I call it Linux because I'm lazy and it's less to type out.

  44. GNU is a Linux convention... or something by Jim+Efaw · · Score: 1

    Linux conventions dictate that whole word options be preceded with a double hyphen

    Isn't that a GNU convention?

    FSF should rename it "GIOL Is Often Linux" so we don't need the slash between the parts anymore. (OK, that sounds trollish, but it's barely dawn on a weekend, so it's as good as I get right now.)

    1. Re:GNU is a Linux convention... or something by Anonymous Coward · · Score: 0

      Or GIOG...

  45. You have it backwards by brunes69 · · Score: 1

    You are making it sound like Linux/UNIX encourages decentralization. Quite the opposite. Even the earliest UNIX OSed has support for NFS and it was in wide use.

    In fact the whole UNIX OS is designed around the idea of having large numbers of people share one centralized environment, via terminal sessions.

    Even XWindows is architected this way, implicit remote support built in.

    Only in the past decade as Linux migrated to be a more single-desktop envinroment a-la windows. This is far from "encouraging" decentralization.

  46. Do no evil? by Anonymous Coward · · Score: 0

    So much for that.

  47. upload to picasa from command line by wanted · · Score: 2, Interesting

    Such tools existed for years, thanks to Google's open API. I wrote one of the first example scripts and the idea was then used in many other tools:
    http://wanted.eu.org/en/computers/linux/uploading_photos_to_picasaweb

    I personally like this one best:
    http://code.google.com/p/upload2picasa/

  48. They really need PDF upload. by lushmore · · Score: 1

    It's a bummer that they still don't allow PDFs to be uploaded. I use Google Docs to store stuff that I used to "print for my records." Having command line interface to upload PDFs would be one step closer to a virtual printer that would just store in Google Docs as PDF. Now that I think if it, they're probably just holding it off while they prepare new interfaces for Google Cloud Print.

  49. Re:lINUX uSERS sO sTUPID cANT uSE gui !! by im_thatoneguy · · Score: 1

    I love spending all day pushing pretty buttons. I find buttons are almost always more intuitive and quick.

    But I also love CLIs. I use them almost exclusively in scripts. A good CLI can skip most of the need for a custom SDK which is compatible with every programming language. Just about every scripting language and application under the sun that offers customization allows shell commands to be run.

  50. Re:here's another good CLI for Windows by Anonymous Coward · · Score: 0

    Cygwin bash is awesome. With a few symbolic links, you can say c: goodbye.

  51. Re:namespacing by Hurricane78 · · Score: 1

    Yes, yes, don’t you think I know that?
    I just wanted to keep it short, considering how I was strongly drunk and just came back from a party. ^^

    --
    Any sufficiently advanced intelligence is indistinguishable from stupidity.
  52. Re:namespacing by Hurricane78 · · Score: 1

    Well, depends on if you want your shell’s space and login time to be even more bloated as it is.

    But considering how what the OP wanted already smells of bloat, I guess it does not matter anyway which version you choose. It’s always pretty pointless. ;)

    --
    Any sufficiently advanced intelligence is indistinguishable from stupidity.
  53. Works for Android or iPhone? by Urkki · · Score: 1

    I'm sure it compiles trivially for Maemo/Meego, but what about webOS, Android or iPhone OS?

    1. Re:Works for Android or iPhone? by paulbiz · · Score: 2, Informative

      You are correct, I untarred the source on my Nokia N900, built and installed and it works fine.

      Dunno about the other phones, but if they have a CLI, python interpreter & can use puthon-gdata then you should be good.