Gentoo Archives: gentoo-user

From: Hogren <hogren@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] date+filename
Date: Tue, 14 Mar 2017 10:40:32
Message-Id: 9070a943-8913-c0e8-ca94-1278044bc96b@iiiha.com
In Reply to: [gentoo-user] date+filename by thelma@sys-concept.com
1 Hello,
2
3 Did you try with the alternative substitution syntax ("$(date +%F)" in
4 place of "`date +%F`") ?
5
6 Did you try to replace "%F" with "%Y-%m-%d" ?
7
8 Did you try to escape the % ("\%")?
9
10 I don't know Xface, so I give you advices with my Bash skills.
11
12 Good luck.
13
14
15 Hogren
16
17
18 On 14/03/2017 00:10, thelma@×××××××××××.com wrote:
19 > I'm trying to add to Xface menu: Configure Custom Actions
20 > This:
21 > pdfunite %N folder/`date +%F`-output.pdf
22 >
23 > The file in dir folder gets created ("-output.pdf") but is missing the date.
24 >
25 > This works from command line:
26 > pdfunite 1.pdf 2.pdf folder/`date +%F`-output.pdf
27 >
28 > What kind of bracket am I missing?
29 >

Replies

Subject Author
Re: [gentoo-user] date+filename thelma@×××××××××××.com