Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

creating an archiving script

UNIX for Dummies Questions & Answers


 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 12-05-2007   -   Original Discussion by jinxe
jinxe jinxe is offline
Registered User
 
Join Date: Dec 2007
Last Activity: 5 December 2007, 8:31 AM EST
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
creating an archiving script

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
Sponsored Links
    #2  
Old Unix and Linux 12-05-2007   -   Original Discussion by jinxe
Cameron's Unix or Linux Image
Cameron Cameron is offline Forum Advisor  
Registered User
 
Join Date: Nov 2001
Last Activity: 23 October 2011, 10:07 PM EDT
Location: Brisbane, Australia
Posts: 509
Thanks: 7
Thanked 0 Times in 0 Posts
Noticed a strangely similar question [ creating a simple archiving script (Shell Programming and Scripting) ]

Forum Rules:
(6) Do not post classroom or homework problems.
Sponsored Links
    #3  
Old Unix and Linux 12-05-2007   -   Original Discussion by jinxe
vino's Unix or Linux Image
vino vino is offline Forum Advisor  
Supporter (in vino veritas)
 
Join Date: Feb 2005
Last Activity: 8 February 2016, 5:12 PM EST
Location: Sydney, Down Under
Posts: 2,848
Thanks: 0
Thanked 13 Times in 13 Posts
Yup. Looks like homework. Closing the thread.
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Script for Archiving data folderwise tuxian Shell Programming and Scripting 1 04-30-2011 09:44 AM
Shell script for log archiving gubbu Shell Programming and Scripting 3 10-29-2010 06:33 PM
help needed with creating challenging bash script with creating directories I-1 Shell Programming and Scripting 7 04-29-2009 06:33 AM
(Urgent):Creating flat file using sql script and sqlplus from UNIX Shell Script praka Shell Programming and Scripting 6 04-15-2009 07:09 AM
creating a simple archiving script lensmen Shell Programming and Scripting 3 12-05-2007 09:16 AM



All times are GMT -4. The time now is 01:34 AM.