Linux script to be completed using replit *Urgent*

Completado Publicado hace 2 años Pagado a la entrega
Completado Pagado a la entrega

The script aims to provide a menu system for users to archive directories and extract files from archives using the tar utility. Consider the problem and write a bash script in the [login to view URL] file to automate the process:

Prompt the user if they would like to continue running the script (yes/no options). This option should be repeatidly given to the user after each iteration of the loop.

Each time a user enters yes, execute an iteration of a loop to do the following:

Prompt the user if they would like to create an archive (by entering 1) or if they would like to display the contents of an archive (by entering 2) or if they would like to create an incremental backup (by entering 3) or if the would like to move a set of files with the same file extension to a specific directory (by entering 4)

If they enter 1

Prompt the user for the name of the directory they want to archive. Ensure that the entered archive actually exists.

Prompt the user for the name of the archive they which to create

Prompt the user if they would like to compress the archive

Use the tar utility to create the archive of the specified directory with the specified name. If they user specified in the previous step that they wanted to compress, ensure that the archive is compressed.

If they enter 2

Prompt the use for the name of the archive they want to view

Check if the file entered actually exits. If it does, use the tar utility to display the contents of the archive

If they enter 3

Prompt the user for the name of the directory they want to archive. Ensure that the entered archive actually exists.

Prompt the user for the name of the archive they wish to create

Prompt the use for the name of the snapshot file they want to create/use for the incremental backup.

Use the tar utility to create the archive of the specified directory with the specified name and snapshot file.

If they enter 4

Prompt the user to enter a file extension

Prompt the user for a path to a directory where they want files copied to

Check if the directory exists, if it does not exist, create the directory

Run a search for all files with the specified file extensions that exist within the /home directory.

All files that meet the criteria should be moved to the directory specified by the user

After performing the above, prompt the user again if they want to continue running the script (yes/no options)

Shell Script Linux

Nº del proyecto: #33367486

Sobre el proyecto

6 propuestas Proyecto remoto Activo hace 2 años

Adjudicado a:

Jacktracker

I am a full-stack developer with more than 6 years of hands-on experience with software development. I have worked with projects from different domains (Network Security, E-Commerce, Education, Finance, Entertainment, Más

£20 GBP en 1 día
(4 comentarios)
2.3

6 freelancers están ofertando un promedio de £18 por este trabajo

hieuhoang117

Hello, I'm Hoang, a System Admin. I have 5-years of experience working with Linux server. I used to create some Shell scripts or Python on Linux to manage or monitor system. Please consider and contact me, we will dis Más

£25 GBP en 3 días
(12 comentarios)
3.9
brolovictor

HELLO DEAR CLIENT I have gone through your project details, having all the required skills (Linux, Software Architecture, PHP, Python and Shell Script)and VAST EXPERIENCE.I confirm to you that the project is doable sin Más

£20 GBP en 7 días
(0 comentarios)
0.0