LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   compressing files and adding files to a folder (https://www.linuxquestions.org/questions/linux-newbie-8/compressing-files-and-adding-files-to-a-folder-4175435629/)

darkmouse 11-04-2012 06:28 PM

compressing files and adding files to a folder
 
I was wondering which commands I may use to compress a script file: assignment9.2.log and a PowerPoint presentation: assignment9.2.pptx.

It needs to be compressed into a .zip file.

all I need are examples without the filenames included. FOr example:

compress [filename] [filename]

Something along the lines of the preceding example. Thanks to all who provides some advice.

chrism01 11-04-2012 06:55 PM

Here's a few options (there's a few more.. ;) )

http://linux.die.net/man/1/compress
http://linux.die.net/man/1/gzip
http://linux.die.net/man/1/zip
http://linux.die.net/man/1/bzip2


All times are GMT -5. The time now is 04:02 AM.