3C-SCSU / Avatar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automation - newer file shuffle program

3C-SCSU opened this issue · comments

Write a program with following features:

  • Input: make your program properly process the data sample provided, as follow: e.g. /data/ >> takeoff / [>> all_subfolders ] etc. The program should automatically identify the total of files on each subdirectory for that specific category; There are N categories: takeoff land right left forward backward etc etc; your application should rename the set of all files to sequential numbers, if n files, attribute a number for each file by random attribution, counting from 1 all the way to n, considering the total number of file into that specific category in all subfolders in that category.

  • Unify: You need to unify all files together in their parent directory category. Make sure that no file is overwritten and that the names are organized accordingly; After unifying all files into their parent directory by their category, you can delete and clean up any temporary directory or subdirectory with the original files from the directories where you just copied the content from for that category.

  • Date: Change the time stamp for date and time of when the file was created to a random date and time, back in time up to the last 10 days.

  • Automation: have the program displaying the names and creation timestamp of files before they are changed and after they changed; Include both options to set the program to run automatically either once a week, or every 30 seconds -- show it automatically running 3 times.

issue is solved: check for the directory [file-shuffler]