The UNIX and Linux Forums  

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



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

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
AIX 4.3.3 / Compress Problem Peter_Brown UNIX for Advanced & Expert Users 0 02-15-2007 05:13 AM
tar and compress muru UNIX for Advanced & Expert Users 4 07-31-2006 09:23 PM
How to Compress log files? redlotus72 UNIX for Dummies Questions & Answers 1 02-23-2005 06:07 AM

Closed Thread
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
  #1 (permalink)  
Old 02-22-2007
simquest simquest is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 15
mv and compress on the fly

I want to move and compress a big export file.
Like mv file_exp /filesystem/file_exp |compress
The file system is too small to compress and move with 2 steps.
What is the best command for me. I'm running solaris.

  #2 (permalink)  
Old 02-22-2007
awk awk is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 134
compress -c filename > /directory/...filename.Z

rm filename

if you are creating the compressed file on the same filesystem, you still will not have enough room. Just as you don't if you try a single step compress.

Other alternatives are pack, gzip, and zip.
Closed Thread

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 01:52 PM.


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