-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
66 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
*.xlsx | ||
build | ||
*.spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,43 @@ | ||
# FolderSizeAnalyzer | ||
Used for analyze folder and subfolder for their size, than make excel file as output. For Windows | ||
|
||
## Usage | ||
Main .exe file in `dist\` | ||
|
||
Use `.exe` in folder `dist` or `.py` (Note: for using `.py` should install requirments) | ||
|
||
MIT License | ||
### Run script 1 exmaple | ||
``` | ||
searchFoldersAnalyzer.exe C:\ Windows OneDrive | ||
``` | ||
|
||
where `C:\` folder to search and `Windows` and `OneDrive` is folders to skip | ||
|
||
### Run script 2 exmaple | ||
``` | ||
searchFoldersAnalyzer.exe | ||
``` | ||
scipt will ask which folder to scan and which folders to skip | ||
|
||
## Building | ||
- Check Requirments for building | ||
- Run `build.ps1` | ||
## Requirments | ||
Windows | ||
Tested on Python 3.10 | ||
Python libraries `openpyxl` | ||
|
||
### Installing requirments | ||
``` | ||
pip install openpyxl | ||
``` | ||
|
||
### Requirments for building | ||
`pyinstaller` and `openpyxl` | ||
|
||
ensure that you have correct path to your pyinstaller and change `build.ps1` first row if needed | ||
|
||
|
||
## MIT License | ||
|
||
Copyright (c) 2023 Heorhii Savoiskyi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Import-Module Microsoft.PowerShell.Utility | ||
$pythonScriptsPath = Join-Path $env:APPDATA "Python\Python310\Scripts" | ||
$env:Path += ";$pythonScriptsPath" | ||
|
||
$params = "--onefile --hidden-import openpyxl" | ||
$command = "pyinstaller .\searchFoldersAnalyzer.py $params --name searchFoldersAnalyzer.exe" | ||
|
||
Invoke-Expression $command |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters