Date: Thu, 01 Jul 2004 22:28:23 -0400 From: Bruce Hunter <freebsd@solisix.com> To: Roop Nanuwa <roop.nanuwa@gmail.com>, freebsd-questions@freebsd.org Subject: Re: tar problem Message-ID: <1088735303.4072.2.camel@solid.solisixoffice.com> In-Reply-To: <75f3f7050407011923279dc72@mail.gmail.com> References: <1088728604.849.1.camel@solid.solisixoffice.com> <75f3f7050407011923279dc72@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2004-07-01 at 22:23, Roop Nanuwa wrote: > On Thu, 01 Jul 2004 20:36:44 -0400, Bruce Hunter <freebsd@solisix.com> wrote: > > > > I am trying to archive this directory for backup purposes. I am getting > > this error when trying to create a new tar file. > > > > Solisix/ > > flipnode@solid$ su > > Password: > > flipnode@solid# tar -c Solisix/ > > tar: /dev/sa0: Cannot open: Operation not supported > > tar: Error is not recoverable: exiting now > > > > What is wrong? Permissions? I am root.. > > > > You need to specify the 'f' option to tell tar where to write the tar > to, it's defaulting > to /dev/sa0 which probably doesn't exist on your system. > > Run: > tar -cf Solisix.tar Solisix/ > > --roop Thanks, I got it to work. How would I include the current system date like this. #tar -cvf Solisix-$USER.tar Solisix/ <--- with current user.. I want the date instead.. #tar -cvf Solisix-$date.tar Solisix/ <-- doesn't work I'm still learning.. sorry Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1088735303.4072.2.camel>