Re: File not found error creating tar.bz2 archive

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Paul Mooring
Date:  
To: Main PLUG discussion list
Subject: Re: File not found error creating tar.bz2 archive
Thanks very much an extra '/' had worked it's way into my script and I
somehow didn't notice it said bkup/${date}, rather than bkup${date}.

On Thu, Feb 11, 2010 at 1:47 PM, Matt Graham <> wrote:
>>>> paul@paulbox:~ $ sudo tar cjpf /backups/bkup/2010-02-11.tar.bz2
>>>> /home/paul/Desktop/
>>>> tar: /backups/bkup/2010-02-11.tar.bz2: Cannot open: No such file
>>>> or directory
> From: Paul Mooring <>
>> yes, like my reply above shows with or without the j I get an error
>> saying /backups/bkup/2010-02-11.tar.bz2 is missing and which bzip2,
>> correctly show /bin/bzip2 exists and is in the proper location.
>
> Does the directory /backups/bkup/ exist?  If it were missing, it'd
> cause that error message.  tar won't make directories for you; you
> have to use mkdir for that :-)
>
> --
> Matt G / Dances With Crows
> The Crow202 Blog:  http://crow202.org/wordpress/
> There is no Darkness in Eternity/But only Light too dim for us to see
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss