Skip to content

Commit

Permalink
Add note about setting --parent with upload
Browse files Browse the repository at this point in the history
Thanks to @vitalyk-multinarity for bringing this up in #5
  • Loading branch information
cristoper committed Mar 29, 2023
1 parent 32cf828 commit 0a7631f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ The `upload` and `download` commands can be used to upload and download arbitrar

Downloading any other Google Workspace document types will attempt to export them as plain text files.

Not that using `upload` without giving it a parent id with `--parent` (or setting the `GSHEET_PARENT` envar) will cause it to upload the file to the service account's root folder where it is not accessible to humans via Google Drive.

[source,sh]
----
# Upload data.csv as a Sheets document in the service account's root directory
Expand Down

0 comments on commit 0a7631f

Please sign in to comment.