On Thu, 2004-07-01 at 22:23, Roop Nanuwa wrote:
> On Thu, 01 Jul 2004 20:36:44 -0400, Bruce Hunter <[EMAIL PROTECTED]> 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/
> > [EMAIL PROTECTED] su
> > Password:
> > [EMAIL PROTECTED] 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

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to