LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to compress a folder (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-compress-a-folder-253872/)

deWin 11-11-2004 09:47 PM

How to compress a folder
 
Guys, it's the dreaded me again :)

I need to compress a folder with many files and subfolders. I'm running redhat linux 7.2

I need this file as a zip or tar file, preferred zip format. I've tried the help but I'm reluctant as these are live files with no backup.

Any help in command structure appreciated, as always.

linux_terror 11-11-2004 09:53 PM

tar -cf destinationfilename.tar directorytobetarred/

linux_terror

deWin 11-11-2004 09:56 PM

Thanks much man. Again, a life saver ;)

linux_terror 11-11-2004 10:00 PM

no prob, glad to help :)


All times are GMT -5. The time now is 05:32 AM.