Solved

How to compress many files to one folder on solaris

Posted on 2011-09-19
3
490 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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
nodeip 9 86
Virtualizing TAPE on dual VIOS 3 101
Linux :how to provide sudo access to the user 13 106
Adding a continue option in a script 9 55
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

860 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