Skip to content

git-sd/File-sorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Python Application: Portfolio Management

This is a simple Python application to manage your portfolio. It runs on your localhost and allows you to perform the following actions:

  1. Display Files & Folders: View the list of files and folders in your Downloads directory.

  2. Sort Files: Sort files in the Downloads directory into folders based on their file extensions.

  3. Merge Folders & Sort: Merge all folders in the Downloads directory into one folder and sort the files inside it based on their extensions.

  4. Move Sorted Folders: Move the sorted folders (from Step 3) back to the Downloads directory.

Setup Instructions

  1. Install the required dependencies using pip:

  2. Copy the Python code from main.py into a Jupyter Notebook or Voila environment.

  3. Run the Jupyter Notebook or Voila server to launch the application on your localhost.

  4. Click on the buttons to perform the corresponding actions.

Usage

  1. Click on the "Display Files & Folders" button to view the list of files and folders in your Downloads directory.

  2. Click on the "Sort Files" button to sort the files in the Downloads directory into folders based on their file extensions.

  3. Click on the "Merge Folders & Sort" button to merge all folders in the Downloads directory into one folder and sort the files inside it based on their extensions.

  4. Click on the "Move Sorted Folders" button to move the sorted folders (from Step 3) back to the Downloads directory.

Note: Ensure that you close any open files in the Downloads directory before using the "Sort Files," "Merge Folders & Sort," or "Move Sorted Folders" features to avoid permission errors.

File Extensions

The application will sort and categorize the files based on the following file extensions:

  • txt
  • pdf
  • jpg
  • png
  • doc
  • docx
  • xls
  • xlsx
  • ppt
  • pptx
  • mp3
  • mp4
  • avi
  • zip
  • rar

You can modify the extensions list in the code to add or remove file extensions.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors