This is a command line python program that takes a valid directory like /home/user/somedirectory/
and arrange all the files under this directory.
- Python 2.7.6
- If you just change the
print
statement of this code - then you can run this code in
- Python 3 slso
To use this command line python program you just open the terminal Ctrl + Alt + T
and you can use the following commands
python arrange.py [-h] -p PATH
- Example :
python arrange.py -p /home/user/Downloads
- or
python arrange.py --path /home/menon/Downloads
-h, --help # show this help message and exit
-p PATH, --path PATH # Give a valid path/directory location
Before run this code my Downloads
directory looks like,
After run this code Downloads
directory is,
You can also see this youtube demo
If you find any bug, please open a new issue with details at https://github.com/menon92/ArrangeFiles/issues