The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 01-04-2009
cfajohnson's Avatar
cfajohnson cfajohnson is offline Forum Advisor  
Shell programmer, author
  
 

Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,361
Quote:
Originally Posted by arukr View Post
Script on execution should take a directory path from user and a numeric input.

Where does it get the numeric input? From the user? From the standard input? From a file?
Quote:
it should flag in case of input missing or wrong path .

How do you determine whether the path is right or wrong?

What do you mean by "flag"? Should the script exit or should it continue? Should it notify the user?
Quote:
All files inside directory greater than a the numeric input specified

How do you determine whether a file is "greater than the numeric input"? Are the file names all numeric? Or do you want to test the contents of the files?
Quote:
should be copied to another directory temp .At last the total copied file size in temp should be displayed .