Hi all. New to unix and need a little help. I am trying to create a script to archive files or directories in to a tarball. I've played a little with scripts but dont understand how to do options. What i want to be able to do is give the command any number of inputs and an output.
ex. save.sh -i '/bin/b*' -i '/bin/ls' -o backup
Noticed a strangely similar question [ creating a simple archiving script (Shell Programming and Scripting) ]
Forum Rules:
(6) Do not post classroom or homework problems.
Yup. Looks like homework. Closing the thread.