Automating File Movement on your system - GeeksforGeeks
Automating File Movement on your system
Imagine a situation like this:You have a folder containing files of multiple types like txt, mp3 etc. You decide to clean up this mess and organize them in a way that images are in one folder and songs in another. Will you be moving them as per file type, i.e. number of moves = number of files . No, I'll not be doing this :).
This task could be automated by writing this python script which can automatically create a separate directory and move files in their respective destinations.
Please note that you need to setup Python 2 on your system.The script makes use of the module named os which allows us to use OS-specific functionalities.Please note that you need to setup Python on your system before all this can be done. For that, follow these steps:
Read full article from Automating File Movement on your system - GeeksforGeeks
No comments:
Post a Comment