
01-04-2009
|
|
Shell programmer, author
|
|
|
Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,361
|
|
Quote:
Originally Posted by arukr
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 .
|
|