File not found error creating tar.bz2 archive

Paul Mooring drpppr242 at gmail.com
Thu Feb 11 14:11:40 MST 2010


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 <danceswithcrows at usa.net> wrote:
>>>> paul at 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 <drpppr242 at gmail.com>
>> 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 - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


More information about the PLUG-discuss mailing list