The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Copy and compress here2learn UNIX for Dummies Questions & Answers 5 03-08-2009 01:10 PM
compress Directory deep_kol Shell Programming and Scripting 9 11-30-2007 12:12 AM
mv and compress on the fly simquest UNIX for Dummies Questions & Answers 1 02-22-2007 12:51 PM
AIX 4.3.3 / Compress Problem Peter_Brown UNIX for Advanced & Expert Users 0 02-15-2007 05:13 AM
How to Compress log files? redlotus72 UNIX for Dummies Questions & Answers 1 02-23-2005 06:07 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 07-28-2006
muru muru is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 15
tar and compress

I need to compress and tar a couple files in a directory, but I also want the original files unchanged, ie

if I compress a1.cpp , then a1.cpp becomes a1.cpp.z,
but what I want after running the compress utility is to have both
a1.cpp as it is and
a1.cpp.z
and then tar a1.cpp.z to an archive.

I would like to do it without making a copy of all these files into a different directory, since the files sometimes goes upto couple of GB's. So that I dont have any space limitaion.
Any suggestions?

Thanks
Muru
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0