summaryrefslogtreecommitdiff
path: root/publish
Commit message (Collapse)AuthorAge
* Merge features from anarcatPeter Palfrader2019-09-08
| | | | | | | | - if stdin is text, publish the content as stdin.txt by default - new option -l to show last used token from history - new option -L to pass to rsync (--copy-links) - the screenshot tool (import) is now overridable in the config (set the screenshot variable)
* publish: do not set a default ttl. instead let publish-purge decide on defaultsPeter Palfrader2019-05-01
|
* Make xclip/xsel call configurable. Request by Dominik KaaserPeter Palfrader2017-08-16
|
* Use mktemp instead of tempfileAndreas Bilke2016-09-12
| | | | | | | tempfile(1) is deprecated and mktemp(1) should be used instead. Also some distributions does not deliver a tempfile implementation. Signed-off-by: Peter Palfrader <peter@palfrader.org>
* Alexander Huemer: allow sourcing an extra config file via a cmdline optionPeter Palfrader2014-07-01
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@676 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* And actually put to the re-publish URL tooPeter Palfrader2014-03-31
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@669 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Implement re-publishPeter Palfrader2014-03-31
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@668 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* minor cleanupPeter Palfrader2013-10-19
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@651 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* publish: only try to fill X clipboard in a X sessionPeter Palfrader2013-10-19
| | | | | | | | | | Without this patch, when using publish on a host with installed xsel or xclip e.g. over ssh, an error message from those utilities is produced, because there is no X session. Signed-off-by: Peter Palfrader <peter@palfrader.org> git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@650 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* typo noted by StrangeCharmPeter Palfrader2013-08-29
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@645 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Add unpublish supportPeter Palfrader2013-05-07
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@623 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* re-publish supportPeter Palfrader2013-04-19
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@614 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Hide publish.ttl files and create them by defaultPeter Palfrader2013-01-27
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@581 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Fix output when we publish a single directory.Peter Palfrader2013-01-27
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@578 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Fix chmod option to rsync, so we do not lock ourselves (and the rest) out ↵Peter Palfrader2013-01-27
| | | | | | from directories git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@577 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* publish: set file permissions during rsyncPeter Palfrader2013-01-27
| | | | | | Signed-off-by: Peter Palfrader <peter@palfrader.org> git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@576 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* publish: add xsel supportPeter Palfrader2013-01-27
| | | | | | Signed-off-by: Peter Palfrader <peter@palfrader.org> git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@575 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Fix tmpdir quotingPeter Palfrader2013-01-16
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@574 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* publish: Fix missing setup_tmpdir for ttl setupPeter Palfrader2013-01-16
| | | | | | Signed-off-by: Peter Palfrader <peter@palfrader.org> git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@573 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* publish-purge: a cleanup script for publish's dirPeter Palfrader2012-12-15
| | | | | | | | | | | | publish-purge considers for each directory in pubish's $base directory a TTL (time to live) that is configured by ~/.publish-purge.cfg and is overriden by a local .publish.ttl file. A new option -t in publish lets publish include a local .publish.ttl file if we wish to set a specific TTL. Signed-off-by: Peter Palfrader <peter@palfrader.org> git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@564 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* publish: Fix printing of urls with -r. Thanks to Alexander Huemer for ↵Peter Palfrader2012-11-29
| | | | | | noticing and testing git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@559 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* publish: add a -r option to add --relative rsync optionPeter Palfrader2012-11-10
| | | | | | Signed-off-by: Peter Palfrader <peter@palfrader.org> git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@558 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* publish: sort usage, add -s option to usage textPeter Palfrader2012-11-10
| | | | | | Signed-off-by: Peter Palfrader <peter@palfrader.org> git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@557 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* update rsync args handling as suggested by Stefan HuberPeter Palfrader2012-10-16
| | | | | | | | | rsync_args is now set before we load the ~/.publish.cfg file so the user can overwrite it. --recursive moved to the rsync call itself, so it is always included. --partial has been removed from the default set. git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@555 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Be less chattyPeter Palfrader2012-08-22
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@548 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Also need tmpdir for -8Peter Palfrader2012-08-14
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@540 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* UTF-8 feature in publish. wowPeter Palfrader2012-04-07
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@517 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Fix copyright year for publishPeter Palfrader2012-04-04
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@515 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Update tempfile handling; support QR code generationPeter Palfrader2012-03-30
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@513 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Allow naming of stdinPeter Palfrader2012-03-10
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@499 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Show history is now -H (was -s)Peter Palfrader2012-03-10
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@498 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* screenshot supportPeter Palfrader2011-11-30
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@492 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* publish keeps timesPeter Palfrader2010-09-17
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@456 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* publish: add hooks, make date format configurablePeter Palfrader2010-02-16
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@442 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Quote a varPeter Palfrader2010-01-25
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@441 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Another instance where we call xclipPeter Palfrader2009-12-05
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@432 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* When publishing a single dir, the printed path was wrongPeter Palfrader2009-12-05
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@431 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Tiny introduction/helpPeter Palfrader2009-12-05
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@430 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* fix helpPeter Palfrader2009-12-05
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@429 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Implement publishing of stdout, the xclipboard, and put the urls into the ↵Peter Palfrader2009-12-05
| | | | | | xclipboard when done git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@428 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Whitespace filePeter Palfrader2009-11-29
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@427 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Always try writing to the history filePeter Palfrader2009-11-29
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@426 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Mention -s in help. Sane default for history filePeter Palfrader2009-11-29
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@425 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* History support from floPeter Palfrader2009-11-29
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@424 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* set public +x in svnPeter Palfrader2009-11-19
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@423 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* fix example pathPeter Palfrader2009-11-19
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@422 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* -n is no morePeter Palfrader2009-11-19
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@421 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Fix datePeter Palfrader2009-11-19
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@420 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* No more DIRECTLINK varPeter Palfrader2009-11-19
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@419 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
* Help exits successfullyPeter Palfrader2009-11-19
| | | | git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@418 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede