On 03/14/2017 04:51 AM, Neil Bothwick wrote: > On Mon, 13 Mar 2017 17:10:40 -0600, the...@sys-concept.com 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
Yes, that is what I end up doing, calling a bash script, it is easier to implement. pdfunite %N pdfunite-join.pdf && sh combine_files.sh -- Thelma