Program outcome: The program should able to move the files from a specified directory to system directories like Documents, Pictures, Music, Videos based on the file extension
Instructions:
- Get the Documents, Pictures, Music, Videos directories paths automatically based on the OS.
- Take the input of the source directory from user from terminal.
- Create a separate folder to store the files which haven't been opened in the last 30 days called old_files.
- The program should support the movement of the files to system directories for windows, linux and Mac.
- Print the filename and moved final file path in the terminal for all the moved files.
- Write error handling to ignore files which cannot be moved and at the end print all the file names which could not be moved as well.
- Print a human readable reason of why the files could not be moved.
- Keep the unmoved files in the same directory as the source.
- Do not move folders.