Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Resolve #145, #149, #150, #151, #139 | Misc #158

Merged
merged 8 commits into from
May 10, 2021

Conversation

Akianonymus
Copy link
Collaborator

@Akianonymus Akianonymus commented May 9, 2021

[FEATURE] drive-utils|upload: Flag to add description to drive metadata | Resolve #145

upload.[sh|bash]: Show drive link in quiet mode too | Resolve #151

[BUGFIX] Fix --share flag when used with emails | Resolve #149

gsync: Changes for multi account support

drive-utils.sh: Fix parameter names for resuming

[BUGFIX] gsync: Refactor systemd service and script creation | Resolve #150

[BUGFIX] install.sh: Fix gsync not updating to latest when using branch

[FEATURE] Add -SM/-sm/--share-mode flag | Resolve #139

@Akianonymus Akianonymus changed the title Resolve #145, #149, #151 Resolve #145, #149, #151 | Misc May 9, 2021
…abbots#145

-desc | --description | --description-all - Specify description for the given file.

    To use the respective metadata of a file, below is the format:

         File name ( fullname ): %f | Size: %s | Mime Type: %m

         Now to actually use it: --description 'Filename: %f, Size: %s, Mime: %m'

         Note: For files inside folders, use --description-all flag.

* add _json_escape function to common-utils
from contibuting.md

Special instructions for posix scripts:

- All local variables should have function name at the end. This is because posix doesn't have local variable feature. It is not mandatory but should be followed to avoid conflicts.
@Akianonymus Akianonymus changed the title Resolve #145, #149, #151 | Misc Resolve #145, #149, #150, #151 | Misc May 10, 2021
@Akianonymus Akianonymus self-assigned this May 10, 2021
…labbots#150

* use full command path in sync loop

* add missing config path file ( CONFIG_INFO )

* create two new functions: _systemd_service_script and _systemd_service_contents

* don't spawn a new shell in systemd service, use full path

README.md: Update for new changes
@Akianonymus Akianonymus changed the title Resolve #145, #149, #150, #151 | Misc Resolve #145, #149, #150, #151, #139 | Misc May 10, 2021
Specify the share mode for sharing file.

    Share modes are:

    - r / reader - Read only permission.

    - w / writer - Read and write permission.

    - c / commenter - Comment only permission.

    Note: Although this flag is independent of --share flag but when email is needed, then --share flag use is neccessary.

In output, show which mode used for sharing file

	(SHARED[w]) means shared with write perms
@Akianonymus
Copy link
Collaborator Author

@labbots approve.

@labbots
Copy link
Owner

labbots commented May 10, 2021

@Akianonymus great work 👍

@labbots
Copy link
Owner

labbots commented May 10, 2021

@Akianonymus please create a new release after merging the changes.

@Akianonymus Akianonymus merged commit 704cdec into labbots:master May 10, 2021
@Akianonymus
Copy link
Collaborator Author

@Akianonymus please create a new release after merging the changes.

New release: https://github.com/labbots/google-drive-upload/releases/tag/v4.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
2 participants