write a script

Dear Madam/Sir

Who can help me with writing a script doing the following?
1- Read names of files (only files with special name format let say initially they have the same file name start like TT*)
2- Then create an empty files with the same names have been read in step one but with extension *.lock
3-send files have been read in step (1)(using FTP) to exact destination fixed IP address.
4- Send files created in step 2 in the same destination.
5-move files have been read in step 1 into another directory (archiving)
6- Archive files have been created in step 2 (same as point 5.
7-scheduling this script to be done twice a day because new files have been generated again.

"Dear" OP,

It's unethical to ask for ready-to-go solutions in a forum of volunteers. You will have to learn to put in some effort in doing your homework before asking for help.

Since we are all unpaid volunteers here, you may want to consider hiring the services of a Unix consultant who can write scripts for you. Of course, those services are not free.

HTH,
tyler_durden

4 Likes

Sorry sir,

I don't want to bother any of you, but if some one could help that will be fine
at least how to start.

regards.

What have you tried?

1 Like

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.