Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Using date/time variables in cronjobs?
Date: Sun, 05 May 2013 18:18:49
Message-Id: 20130505191834.2c89a66d@digimed.co.uk
In Reply to: Re: [gentoo-user] Using date/time variables in cronjobs? by Tanstaafl
1 On Sun, 05 May 2013 14:07:50 -0400, Tanstaafl wrote:
2
3 > /home/user/mypg_backups/2013/May/Sun/pg_all-13:54.gz: No such file or
4 > directory
5 >
6 > So, it is expanding the variables properly, but apparently won't
7 > automatically create the directories? Is there some kind of flag I can
8 > add to the command to do that?
9
10 mkdir -p $BACKUP_DIR/$PGyy/$PGmm/$PGdd/
11
12
13 --
14 Neil Bothwick
15
16 A friend in need may turn out to be a nuisance.

Attachments

File name MIME type
signature.asc application/pgp-signature