The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-02-2006
FredSmith FredSmith is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 88
tar'ing and zipping files

If I have a directory /directory1 and want to tar and zip everything in it into a file new_tar.tar.gz on disk (not tape)

How can I do it?

I tried tar -cv /new_tar.tar /directory1/*

But I got an error: tar: /dev/rmt/0: No such device or address