Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer in Java :) Write a program Backup.java that when given command line arguments that correspond to directories will go though and make a

Please answer in Java :)

Write a program Backup.java that when given command line arguments that correspond to directories will go though and make a directory called Backups under that directory (if it does not already exist). Copy all files with a .txt or .java suffix in that directory to that backup directory.

So if the given command line arguments are C:/Info and C:/Results the program will make Backup directories (called Backups) under those two directories and copy all the text and Java Files into that directory.

Note if the specified directory path does not exist, just ignore that argument and move on to the next command line argument.

Thanks in advance for any help!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introductory Relational Database Design For Business With Microsoft Access

Authors: Jonathan Eckstein, Bonnie R. Schultz

1st Edition

1119329418, 978-1119329411

More Books

Students also viewed these Databases questions

Question

What is the preferred personality?

Answered: 1 week ago

Question

What is the relationship between humans?

Answered: 1 week ago