Write a program that will find all files with the same name


1. Given a directory, write a program that will find all files with the same name. Show their name, which folder they are in and what date they were created. Expand the program to remove all duplicate copies based on user input. That is, ask users if each one of the file is to be kept or deleted. Based on user input, perform the appropriate action.

2. Write a program that will read a directory containing a set of files, create a new sub folder called "backup" on same folder and copy all the files from directory to the new sub directory "backup". You are supposed to use exec() with "cp" command. Remember to create child processes that can execute each of the cp commands to copy the file from directory to sub folder "backup"

3. Write a program that will categorize all files in the current folder based on their file type. That is all .txt file in one folder called txt, all .bmp files in another folder called bmp etc.

Request for Solution File

Ask an Expert for Answer!!
Dissertation: Write a program that will find all files with the same name
Reference No:- TGS02802835

Expected delivery within 24 Hours