Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use tar to copy two separate directories to tape 2

Status
Not open for further replies.

caillebotte

IS-IT--Management
Dec 8, 2002
22
US
Hi.
I can use tar to copy one directory to tape as in:

tar -cvf /dev/rmt0 /xyz where /xyz if a directory

but how can I copy /xyz and /123 using one command?

or can I use a short script to do it?

Thanks!
John Hanna
 
Thanks.
That works great.
One question. I've seen -cvf and also cvf. What's the difference?
John
 

Nothing :)

Cheers Henrik Morsing
IBM Certified AIX 4.3 Systems Administration
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top