I will be honest with you guys! I have no idea how to do it. If anybody can help i will truly appreciate!
I want help to develop a unix script that will use two run-time arguments; the rst is a
(specicaltion of a path to a) source folder, the second is a target folder; and it will do the following:
1)if the source folder does not exist, display a message and exit.
2)if the target folder does not exist, create it and display an appropriate message; if it does exist, display a message.
3)for each regular le in the source folder,
(a) display its details (name, size, date etc)
( ask the user whether the le should be copied
© if the user answers \no" display a message \skipped", otherwise copy
the le to the target, set the copy's permissions to \read-only" , and display a message.
I have to write "subroutine" scripto do the repeated
Develop a unix script(s) that accept a list of files (or a glob) as its input.