Managing Files

At the moment I am training for computer science c children, and sometimes cook them to the 'competition'. With one 14-year old teenager, we did the project described below. The theory summarized the problem. Sysadmins have to work with large data: copy, archive, move, rename, etc. Likely to work, they use special tools or write a small 'applets' for yourself. For example, in Linux common spelling of bash-scripts.

Gipotezaz. Python programming language is a good tool to perform the above tasks, and also has the happy advantage. Purpose. Explore the possibilities of the Python programming language and create a small program (a first module), which performs functions such as searching for files in the directory on the grounds of the name, size, time of change (create, open), but also allows further sort (copy, move, delete). Bibliography. Among other things, in many respects, we relied on the book 'Python in System Administration unix and Linux' (Gift, Jones). The general scheme of the program can be represented as follows: I understand that in fact is an attempt to reproduce the functionality of tools find. However, in the student projects are important to learn something, gain practical skills.

'Discovery' was credited with the fact that the utility has turned out more convenient and works great in Windows. When defending this work between a teenager and an assistant professor there was something like the following dialogue: – Lack of your work – is to use text-based interaction with users. – The program is designed for system administrators. Do I need a gui? Can the above program with a valid and practical significance? (Perhaps our assumption in the problem that is often required to sort the files not initially true).