help me with lab im new to bash....

Write a script that copies the file tree (including subdirectories) in your home directory. As the initial directory to take the directory / usr / share / doc, as the destination directory using the directory $ {HOME} / doc.
Write a script corresponding to paragraph 1. Additional conditions: a) should be copied only the files without the end, that is, not match the pattern *.* to the names of newly created files to add the ending. txt; b) files should be copied only with the ending. html, ending again should be replaced with. HTM
Write a script corresponding to step 2. Additional terms: names of newly created directories must be made in the upper register.
Write a script that prepares a list of files from this directory and its subdirectories. The script receives the following parameters:
mask of files to search for
ownership of files to search for
File access rights
For laboratory work to use external commands

find (man find)
sed (man sed)
tr (man tr)
basename (man basename)
dirname (man dirname)
Interpreter and builtins bash (man bash)
while; do; done
read
if; then; else; fi

Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.