Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] date+filename
Date: Tue, 14 Mar 2017 12:30:08
Message-Id: f255779e-57b5-a77d-c4d3-c86090e89895@sys-concept.com
In Reply to: Re: [gentoo-user] date+filename by Hogren
1 On 03/14/2017 04:40 AM, Hogren wrote:
2 > Hello,
3 >
4 > Did you try with the alternative substitution syntax ("$(date +%F)" in
5 > place of "`date +%F`") ?
6 >
7 > Did you try to replace "%F" with "%Y-%m-%d" ?
8 >
9 > Did you try to escape the % ("\%")?
10 >
11 > I don't know Xface, so I give you advices with my Bash skills.
12 >
13 > Good luck.
14 >
15 >
16 > Hogren
17 >
18 >
19 > On 14/03/2017 00:10, thelma@×××××××××××.com wrote:
20 >> I'm trying to add to Xface menu: Configure Custom Actions
21 >> This:
22 >> pdfunite %N folder/`date +%F`-output.pdf
23 >>
24 >> The file in dir folder gets created ("-output.pdf") but is missing the date.
25 >>
26 >> This works from command line:
27 >> pdfunite 1.pdf 2.pdf folder/`date +%F`-output.pdf
28 >>
29 >> What kind of bracket am I missing?
30
31 I've tried all brackets () quotes "`$ nothing works
32 I don't know why they make it different from standard Bash commands.
33
34 --
35 Thelma