Relocate is a Python Package by Sandip Palit. It will help you in organising your files into distinct folders.
Project description
Relocate
Do you want to organise your files?
Then Relocate is here to help you. It will organise your files as per your requirement.
Install the module from your command prompt.
pip install relocate
To import the RELOCATE package, run the following.
import relocate
Now you can group your files, based on the following options.
relocate.relocateNow()
It will organise your files in separate folders, according to month of last modification and then according to extension.
relocate.byMonthCreated()
It will organise your files in separate folders, according to month of creation (for Windows) or according to month of last metadata change (for Unix).
relocate.byYearCreated()
It will organise your files in separate folders, according to year of creation.
relocate.byMonthModified()
It will organise your files in separate folders, according to month of last modification.
relocate.byYearModified()
It will organise your files in separate folders, according to year of last modification.
relocate.byMonthLastAccessed()
It will organise your files in separate folders, according to month of last access.
relocate.byYearLastAccessed()
It will organise your files in separate folders, according to year of last access.
relocate.byExtension()
It will organise your files in separate folders, according to file extension.
relocate.bySize()
It will organise your files in separate folders, according to file size.
relocate.byFirstChar()
It will organise your files in separate folders, according to first character of file name.
Navigate to the RELOCATED folder, and you will get your files in an organised manner.
Do you want to undo the changes?
Then navigate to RELOCATE folder, and run the following.
relocate.undo()
It will undo the changes. You will get all your files in this RELOCATED folder.
For any queries, contact me on LinkedIn
Changelog:
Version 2.1.0
- Added relocate.undo()
Version 2.0.0
- Added relocate.byMonthCreated()
- Added relocate.byYearCreated()
- Added relocate.byMonthModified()
- Added relocate.byYearModified()
- Added relocate.byMonthLastAccessed()
- Added relocate.byYearLastAccessed()
- Added relocate.byExtension()
- Added relocate.bySize()
- Added relocate.byFirstChar()
Version 1.3.1 , 1.3.0 , 1.2.0
- Added relocate.relocateNow()
- Bug Fixed
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file relocate-2.1.0.tar.gz
.
File metadata
- Download URL: relocate-2.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b19fcdb45fcdf8d91d0738ac3f7c5942572d465a70024efa88dd03d5d9c07b04 |
|
MD5 | 9f116fb763ca7f211882537eb46e4309 |
|
BLAKE2b-256 | 15c4fb2a3557cadd80c34565fbfeafecf3a042c61d96e8ffbd2033804d01b8cb |