Your script must accept 3 command-line arguments provided when the script is run: Argument 1 - the
Question:
Your script must accept 3 command-line arguments provided when the script is run:
Argument 1 - the local source directory containing the files to be processed
Argument 2 - the local destination directory that will be used to copy invalid
filenames to
Argument 3 - the file extension (without a leading dot) to be used for valid source
files (eg grf)
The directory names and the file extension that are provided by arguments 1,2 and 3 must not be 'hardcoded' (specified literally) in your script, i.e., their value must come from the command line arguments. If any of the 3 arguments are missing, the script should provide a usage warning message and then exit - the user must not be prompted to enter missing values when the script is running. See Example Output.
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill