On Sun, 05 May 2013 14:07:50 -0400, Tanstaafl wrote:

> /home/user/mypg_backups/2013/May/Sun/pg_all-13:54.gz: No such file or 
> directory
> 
> So, it is expanding the variables properly, but apparently won't 
> automatically create the directories? Is there some kind of flag I can 
> add to the command to do that?

mkdir -p $BACKUP_DIR/$PGyy/$PGmm/$PGdd/


-- 
Neil Bothwick

A friend in need may turn out to be a nuisance.

Attachment: signature.asc
Description: PGP signature

Reply via email to