Compress one Folder
Hai Friends
I have one doubt. I have one folder in my linux server. that folder having lot of sub folder , text files , images etc... I need to tar that file using tar command . my need is i dont want tar for that full folder. i want to tar only html and txt files only . so how to do this please advise me i am using centos 5 |
one simple solution is :
move or copy *.txt and *.jpg files to another directory and make of that. |
tar zcvf backup.tgz *.html *.jpeg
Untested(!) |
Quote:
|
All times are GMT -5. The time now is 01:36 AM. |