Solved

Red Hat 4.8: how to tar.gz a group of files?

Posted on 2010-08-30
2
381 Views
Last Modified: 2013-12-06
Hello experts,

I am in this directory
/Logs

it contains a bunch of log files
083010_1220_67.log
083010_1230_47.log
083010_1240_87.log
083010_1250_37.log
083010_1260_77.log
083010_1320_57.log
083010_1340_67.log
083010_1360_67.log
083010_1380_67.log

how do I tar just just these array of files?
083010_12.*

I tried this and it didn't work:
tar -zcvf 083010_12.tar.gz 083010_12.*.log

thx so much..

0
Comment
Question by:epifanio67
2 Comments
 
LVL 10

Accepted Solution

by:
NetExpert-Warszawa earned 500 total points
ID: 33564565
Try:
tar -zcvf 083010_12.tar.gz 083010_12*.log
0
 

Author Closing Comment

by:epifanio67
ID: 33564636
yep... thank you expert...

the problem was the period... thank you...
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now