Skip to content

Instantly share code, notes, and snippets.

@GabLeRoux
Created January 31, 2017 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GabLeRoux/43127e665a668e7ca32f9ebf58395dc7 to your computer and use it in GitHub Desktop.
Save GabLeRoux/43127e665a668e7ca32f9ebf58395dc7 to your computer and use it in GitHub Desktop.
gpaste-client --help
gpaste-client --help
Usage:
  gpaste-client [history]: print the history with indexes
  gpaste-client history-size: print the size of the history
  gpaste-client get-history: get the name of the current history
  gpaste-client backup-history <name>: backup current history
  gpaste-client switch-history <name>: switch to another history
  gpaste-client delete-history <name>: delete a history
  gpaste-client list-histories: list available histories
  gpaste-client add <text>: set text to clipboard
  gpaste-client add-password <name> <password>: add the name - password couple to the clipboard
  gpaste-client rename-password <old name> <new name>: rename the password
  gpaste-client get <number>: get the <number>th item from the history
  gpaste-client select <number>: set the <number>th item from the history to the clipboard
  gpaste-client replace <number>  <contents>: replace the contents of the <number>th item from the history with the provided one
  gpaste-client merge <number> … <number>: merge the <number>th items from the history and add put the result in the clipboard
  gpaste-client set-password <number> <name>: set the <number>th item from the history as a password named <name>
  gpaste-client delete <number>: delete <number>th item of the history
  gpaste-client delete-password <name>: delete the password <name> from the history
  gpaste-client file <path>: put the content of the file at <path> into the clipboard
  whatever | gpaste-client: set the output of whatever to clipboard
  gpaste-client empty: empty the history
  gpaste-client start: start tracking clipboard changes
  gpaste-client stop: stop tracking clipboard changes
  gpaste-client quit: alias for stop
  gpaste-client daemon-reexec: reexecute the daemon (after upgrading...)
  gpaste-client settings: launch the configuration tool
  gpaste-client ui: launch the graphical tool
  gpaste-client applet: launch the applet
  gpaste-client show-history: make the applet or extension display the history
  gpaste-client upload <number>: upload the <number>th item to a pastebin service
  gpaste-client version: display the version
  gpaste-client daemon-version: display the daemon version
  gpaste-client help: display this help
  gpaste-client about: display the about dialog

Display options:
  --oneline: display each item on only one line
  --raw: display each item raw (without line numbers)
  --zero: use a NUL character instead of a new line betweean each item

Merge options:
  --decoration <string>: add the given decoration to the beginning and the end of each item before merging
  --separator <string>: add the given separator between each item when merging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment