[NBLUG/talk] Backups to DVD?

Lincoln Peters anfrind at gmail.com
Sun Dec 30 08:27:10 PST 2007


On Dec 30, 2007 6:22 AM, Jack Smith <jack.delbert at gmail.com> wrote:
> OK, something about this isn't working.  Or I'm doing something wrong
>
> ]# tar  -cvzf  /home  |  split  -d  -b  4000m  -  archive.home.tar.gz.
> tar: Cowardly refusing to create an empty archive

Try this (drop the -f option):

tar -cvz /home  |  split  -d  -b  4000m  -  archive.home.tar.gz

When you use the -f option, tar assumes that the next argument is
going to be the name of the tar file.  Thus, it thinks you want to
create an archive called /home, but you didn't specify what to put in
it.


-- 
Lincoln Peters
<anfrind at gmail.com>



More information about the talk mailing list