On Mon, 13 Mar 2017 17:10:40 -0600, [email protected] wrote:

> I'm trying to add to Xface menu: Configure Custom Actions
> This:
> pdfunite %N folder/`date +%F`-output.pdf
> 
> The file in dir folder gets created ("-output.pdf") but is missing the
> date.
> 
> This works from command line:
> pdfunite 1.pdf 2.pdf folder/`date +%F`-output.pdf

Command substitution is a shell feature, so it may h=not work elsewhere.
The solution may be to write a one line shell script and have XFCE call
that.

#!/bin/sh
pdfunite $* $(date +%F)-output.pdf


-- 
Neil Bothwick

Top Oxymorons Number 44: Advanced BASIC

Attachment: pgpI9parVwFl1.pgp
Description: OpenPGP digital signature

Reply via email to