1 |
On Mon, 13 Mar 2017 17:10:40 -0600, thelma@×××××××××××.com wrote: |
2 |
|
3 |
> I'm trying to add to Xface menu: Configure Custom Actions |
4 |
> This: |
5 |
> pdfunite %N folder/`date +%F`-output.pdf |
6 |
> |
7 |
> The file in dir folder gets created ("-output.pdf") but is missing the |
8 |
> date. |
9 |
> |
10 |
> This works from command line: |
11 |
> pdfunite 1.pdf 2.pdf folder/`date +%F`-output.pdf |
12 |
|
13 |
Command substitution is a shell feature, so it may h=not work elsewhere. |
14 |
The solution may be to write a one line shell script and have XFCE call |
15 |
that. |
16 |
|
17 |
#!/bin/sh |
18 |
pdfunite $* $(date +%F)-output.pdf |
19 |
|
20 |
|
21 |
-- |
22 |
Neil Bothwick |
23 |
|
24 |
Top Oxymorons Number 44: Advanced BASIC |