First, on OSX you need Java 1.6. You see which you have from the Java Preferences application in /applications/utilities. Of course it would be too easy to call it 'Java 1.6'... its Java SE 6
Drag Java Se 6 to the top of the list and then quit Java Prefs - it auto saves.
Second you need to get the Java applet from here code.google.com/p/google-docs-upload/
If you have wget you can run
$ wget http://google-docs-upload.googlecode.com/files/google-docs-upload-1.2.jar
Then from the command line you run
$java -jar google-docs-upload-1.2.jar ~/Documents/1test/ --recursive --username name@gmail.com
It asks for your password, and then after a few moments, its done.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqPDRA0T1uj9l2EzHBjrUlqmTvmMAj51yU3LGYqPgkQL64RqWya58lzbegG6IjGUEDMRneo-3pmwSjF4BC66n264Z6C8VczgoTagMF8vnNg_hsVkJ0UAPQMWK9Af1FvI8rZf8mRXFiXRw/s400/Picture+4)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfubXfa0W7iI2zQ6W5PAlH6U_O47uzko5WTO6FWLxQ9-MFVAL3dbs2_0TNK0fXCFfZdYX092U41RpWt7QkeLZfIEczhjLQyW7_ucNSEjD4nsjEJw8Wlhnl832zGnWHRNh6BL2XevKSjzk/s400/Picture+5)
I did find a couple of weird things.
It doesn't create the enclosing folder, so if upload /docs it won't create docs. You need to have it in a sub folder eg /upload/docs, and it will create the 'docs' folder in which you'll find your docs.
And for some reason it sets the folder on my Mac to be read only.
No comments:
Post a Comment