Hello beautiful people, I would like to kindly ask you to help me with my school leaving project. Unfortunatelly due to family problems I felt into trouble and I am on able to finish my project due to schedule.
I would like to ask you to review this script and give me any hints that you could. I am not usually asking others for help so I am really ashamed to do it right now, but I feel I don't have any more options.
Thank you for understanding.
Here is the script :
The script should offer a menu with the following options:
- To create a backup copy of a script file.
- The name of the backup copy should have backup after the name of the script and be date stamped e.g. Ass3Script_backup_10_11_2015.
- It should be saved to your home directory using the Environment Variable for your home directory.
- The script should error check that the file exists and is a normal file. If this is not the case then the script should allow the user to re-enter the filename until a valid filename is entered
- To create a date stamped log file called e.g. log_file_10_11_2015 containing
- A list of who is logged into the system,
- The disk usage and
- Your currently running processes.
- The file should be saved to an existing directory called log_dir which should be situated off your home directory
- To create a copy of a file.
- The file should be in your current directory (the name of the file to be given by the user)
- The destination directory name to be given by the user.
- The script should error check that the file exists and is a normal file. If this is not the case then the script should allow the user to re-enter the filename until a valid filename is entered.
- The script should check that the destination directory exists. If this is not the case then the script should allow the user to re-enter the destination directory until a valid directory is entered.
- To move the location of a file in your current directory (the name and destination to be given by the user).
- The script should error check that the file exists and is a normal file. If this is not the case then the script should allow the user to re-enter the filename until a valid filename is entered.
- The script should check that the destination directory exists. If this is not the case then the script should allow the user to re-enter the destination directory until a valid directory is entered.
This script should loop continuously until the user chooses to quit.
I would really appreciate any kind of help you could give me.
Thank you very much in advance.