Solved

How to compress many files to one folder on solaris

Posted on 2011-09-19
3
492 Views
Last Modified: 2012-05-12
hi , i need to compress many files and folder  at once to move them to another directory. what is the procedure
0
Comment
Question by:cismoney
  • 2
3 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 36559173
zip

zip -r myfolder.zip myfolder
0
 

Author Comment

by:cismoney
ID: 36559216
there are like 100 files, i want to zip them at once
0
 
LVL 18

Accepted Solution

by:
liddler earned 500 total points
ID: 36559341
so if they are all in the current directory
zip myfiles.zip *
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sudo logging 5 109
File sharing syncing(Production to DR, DR back to Production) 2 40
Hyper-threading config in Solaris 6 192
Java core in Solaris 10 1 312
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

733 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