|
Project Information
Members
Featured
Downloads
Links
|
Google Docs Batch UploadA tool for batch uploading documents to a Google Docs account with recursive directory traversing. The tool supports PDF upload. Please note, uploading any types of files without conversion is available only for Google Apps for Business accounts due to API restrictions. To run the application you need Java 1.6 (JRE 6) or greater installed: http://java.sun.com/javase/6/ Usage: java -jar google-docs-upload.jar
Usage: java -jar google-docs-upload.jar <path> --recursive
Usage: java -jar google-docs-upload.jar <path> --username <username> --password <password>
Usage: java -jar google-docs-upload.jar <path> --auth-sub <token>
[--username <username>] Username for a Google account.
[--password <password>] Password for a Google account.
[--recursive] Recursively upload all subfolders.
[--remote-folder <path>] The remote folder path to upload the documents separated by '/'.
[--without-conversion] Do not convert documents into the Google Docs format (unsupported files are not converted by default).
[--without-folders] Do not recreate folder structure in Google Docs.
[--hide-all] Hide all documents after uploading.
[--add-all] Upload all documents even if there are already documents with the same names.
[--skip-all] Skip all documents if there there are already documents with the same names.
[--replace-all] Replace all documents in Google Docs, which have the same names as the uploaded.
[--disable-retries] Disable auto-retries in the cases of failed upload.
[--auth-sub <token>] AuthSub token.
[--auth-protocol <protocol>] The protocol to use with authentication.
[--auth-host <host:port>] The host of the auth server to use.
[--protocol <protocol>] The protocol to use with the HTTP requests.
[--host <host:port>] Where is the feed (default = docs.google.com)You can also use short versions of the options, such as -u (--username), -p (--password), -rf (--remote-folder), etc. Setup for easy launch in Windows1. Create a new folder, let's say C:\gdu\ 2. Download the latest jar file and copy it into the created folder 3. Create in C:\gdu\ an empty file called gdu.cmd 4. Open the file gdu.cmd (for example, using Notepad) and paste into it the following content: java -jar C:\gdu\google-docs-upload-<version>.jar %1 --recursive -u <username> %* pause 5. Replace <version> with the actual version of the tool and <username> with your Google account username 6. Run the program by double-clicking on gdu.cmd 7. (Optional) Add the install path (C:\gdu\) to the Windows PATH variable 8. (Optional) Now you can run the tool from Windows command line: gdu <path> [<options>] Let's say you have a folder C:\documents\ with documents that you often update with new ones. In order to simplify the regular upload of new documents to Google Docs, you can do the following (please note, to make these steps work, first you have to add the install path C:\gdu\ to the PATH variable): 1. Create in C:\Documents\ an empty file upload.cmd 2. Copy into C:\Documents\upload.cmd the content: gdu.cmd ./ -rf /Documents -r -sa 3. To run the upload you just need to double-click on upload.cmd and supply your username and password 4. Or you can schedule regular auto execution of the script using, for example, Windows Task Scheduler Proxy supportTo enable proxy support, run the program with the following standard Java properties specified: java -DProxyHost=<host> -DProxyPort=<port> -jar google-docs-upload.jar Thanks for the donations!Please let me know if you want to remove your name from this list or add some information.
ChangelogVersion 1.4.7 (24/07/2011) Version 1.4.6 (12/04/2011) Version 1.4.5 (07/04/2011) Version 1.4.4 (06/04/2011) Version 1.4.3 (21/03/2011) Version 1.4.2 (18/01/2011) Version 1.4.1 (29/12/2010) Version 1.4 (23/12/2010) Version 1.3.2 (01/03/2010) Version 1.3.1 (02/01/2010) Version 1.3 (27/12/2009) Version 1.2 (06/09/2009) Version 1.1 (03/09/2009) |
