terrywashington
Technical User
I am trying to tar and gzip a directory to a tape (dev/rmt/0) in a single command line. I have devised a command that will allow me to tar and gzip the directory and put it on another disk or host via the /net mountpoint. I am running the command
tar cvf - . | gzip > /disk1/project.tar.gz.
This command creates a gzipped, tar file of the current directory on /disk1. I am trying to figure out the syntax to send the gzipped tar file to my tape drive instead of /disk1 but am not having any luck. Does anyone have any ideas?
tar cvf - . | gzip > /disk1/project.tar.gz.
This command creates a gzipped, tar file of the current directory on /disk1. I am trying to figure out the syntax to send the gzipped tar file to my tape drive instead of /disk1 but am not having any luck. Does anyone have any ideas?