The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
batch shell script to zip individual files in directory - help
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
batch shell script to zip individual files in directory - help
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
08-28-2008
era
Herder of Useless Cats (On Sabbatical)
Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
The problem is that you need to list the files you want to zip on the command line, the script doesn't contain this information.
"$@"
contains the arguments passed to the script on the command line.
era
View Public Profile
Visit era's homepage!
Find all posts by era
Find era's past nominations received
Find era's present nominations given