LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2003, 08:06 PM   #1
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Rep: Reputation: 30
zipping/compressing folders and files


say i have a folder, named "program" and it has files in it. If i wanted to add the folder "program" and all of the files inside of it to program.zip what would be the command. Also how could i add it to program.tar.gz??? I have read the zip and tar man pages but i cant figure it out?
 
Old 05-26-2003, 09:48 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
To make a compressed tarball type tar -czvf program.tar.gz /<path to program>.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compressing/Zipping A Directory Wha?Where? Linux - Newbie 4 07-07-2005 10:20 PM
Zipping of files rajesh_b Programming 5 10-27-2004 07:02 AM
zipping files with a script quickk Linux - Newbie 8 09-17-2004 10:32 AM
compressing files master Linux - Newbie 4 03-18-2004 12:48 PM
Compressing files GtkUser Linux - Software 1 04-02-2003 07:21 AM


All times are GMT -5. The time now is 10:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration