Solved

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

Posted on 2010-08-30
2
380 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
Comment Utility
Try:
tar -zcvf 083010_12.tar.gz 083010_12*.log
0
 

Author Closing Comment

by:epifanio67
Comment Utility
yep... thank you expert...

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

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

In order for businesses to be compliant with certain information security laws in some countries, you need to be able to prove that a user (which user it was becomes important to the business to take action against the user after an event has occurr…
Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
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.

763 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

7 Experts available now in Live!

Get 1:1 Help Now