A number-based folder management and auto-alignment tool.
Project description
๐ Folder Manager (fm)
๋ฒํธ ๊ธฐ๋ฐ์ ํด๋ ๊ด๋ฆฌ ๋ฐ ์๋ ์ ๋ ฌ ๋๊ตฌ์ ๋๋ค.
A number-based folder management and auto-alignment tool.
License: This project is licensed under the GPL-3.0 License - see the (LICENSE) file for details.
๐ ๊ฐ์ (Overview)
์ด ํ๋ก์ ํธ๋ ํ๋ก๊ทธ๋๋ฐ ๋ด๋น๊ฐ ์ทจ๋ฏธ๋ก ๋ง๋ ๊ฐ๋จํ ํ์ด์ฌ ์คํฌ๋ฆฝํธ์ ๋๋ค. ์ด ๋ด๋น๋ ํ๊ตญ์ธ์ด๊ธฐ์ ํ๊ตญ์ด ์ฃผ์์ด ํฌํจ ๋์ด ์์ต๋๋ค.
This project is a simple Python script created as a hobby by a programming newbie. Since this newbie is Korean, Korean comments are included.
์ด ์ฝ๋๋ Google Gemini 3.0-Flash ๋ชจ๋ธ์ ๋์์ ๋ฐ์ ์์ฑ ๋ฐ ์ต์ ํ๋์์ต๋๋ค.
This code was generated and optimized with the assistance of Google Gemini 3.0-Flash.
โ ์ ๋ง๋ค์๋๊ฐ ( Why was it created ?)
์ ํ๋ธ ์ผ์ธ ์์ '๊ตฌ๊ธ ์ง์์ ํด๋ ๊ด๋ฆฌ๋ฒ' ์ด๋ฐ ๊ฒ๋ง ๋์ ธ์ฃผ๊ณ ์๋ํ ๊ธฐ๋ฒ์ ์ ์๋ ค์ค์ ํ๋ฒ ๋ง๋ค์ด ๋ณด์์ต๋๋ค.
I saw that YouTube shorts only showed things like 'How Google Employees Manage Folders' but didn't teach any automation techniques, so I tried making one.
๐ ํ์ ๋ฒ์
์ธํฐํ๋ฆฌํฐ ์ค์น๋ ์ซ๊ฑฐ๋ ์ด๋ ค์ด ์ฌ๋๋ค์ด ์ฌ์ฉํ๋ฉด ๋ฉ๋๋ค. (It is suitable for people who dislike or find it difficult to install interpreter.)
์ฌ์ค์ ์ ์ง๋ณด์ ๋์ง ์๋ ๋ฒ์ ์ด๋ ์ฌ์ฉ์ ๋น๊ถ์ฅ ๋๋ฆฝ๋๋ค. (This version is effectively not maintained. We do not recommend using it.)
๐จ ์์คํค ์ํธ ์ ์๊ถ (ASCII Art Copyright)
์ฝ๋ ๋ด์ ํฌํจ๋ ์์คํค ์ํธ๋ ๋ถ๊ดด 3rd์ 'ํค์๋ ์นด์ค๋ผ๋'๋ฅผ ๋ฐํ์ผ๋ก ์ ์๋์์ต๋๋ค.
The ASCII art included in the code is based on 'Kiana Kaslana' from Honkai Impact 3rd.
ํด๋น ์บ๋ฆญํฐ ๋ฐ ๋์์ธ์ ๊ทผ๋ณธ์ ์ธ ์ ์๊ถ์ miHoYo Network Technology Co. Ltd. / ็ฑณๅๆธธ็ฝ็ป็งๆ่กไปฝๆ้ๅ ฌๅธ์ ์์ต๋๋ค. ์ด ํ๋ก์ ํธ๋ ํฌ ์ฐฝ์์ ์ผํ์ด๋ฉฐ, ์ ์๊ถ์์ ์์ฒญ์ด ์์ ์ ํด๋น ์ํธ๋ ๋ณ๊ฒฝ ๋๋ ์ญ์ ๋ ์ ์์ต๋๋ค.
The fundamental copyright for the characters and designs belongs to miHoYo Network Technology Co. Ltd. / ็ฑณๅๆธธ็ฝ็ป็งๆ่กไปฝๆ้ๅ ฌๅธ. This project is a fan-made creation, and the art may be modified or removed upon request from the copyright holder.
๐ ๏ธ ์ฃผ์ ๊ธฐ๋ฅ (Main Features)
-
Make: ๋ฒํธ๋ฅผ ์ง์ ํ์ฌ ์ ํด๋๋ฅผ ์์ฑํ๋ฉฐ, ํด๋น ๋ฒํธ ์ด์์ ๊ธฐ์กด ํด๋๋ค์ ์๋์ผ๋ก ๋ค๋ก ๋ฐ์ด๋ ๋๋ค. (Create a new folder at a specific index and automatically shift subsequent folders forward.)
-
Archive (rm): ์ง์ ํ ๋ฒํธ์ ํด๋๋ฅผ ํ์์คํฌํ์ ํจ๊ป ๋ณด๊ด ์ฒ๋ฆฌํ๊ณ , ๋ค์ ๋จ์ ํด๋๋ค์ ๋ฒํธ๋ฅผ ์์ผ๋ก ๋น๊ฒจ ๋น์๋ฆฌ๋ฅผ ์ฑ์๋๋ค. (Archive a folder with a timestamp and shift subsequent folders back to fill the gap.)
-
Fill: ์ค๊ฐ์ ๋๋ฝ๋ ๋ฒํธ๊ฐ ์๋ค๋ฉด 01๋ฒ๋ถํฐ ์์ฐจ์ ์ผ๋ก ๋ค์ ์ ๋ ฌํ์ฌ ๊ตฌ์กฐ๋ฅผ ์ต์ ํํฉ๋๋ค. (Re-align all folder numbers sequentially starting from 01 to optimize the structure.)
-
Rollback: ์ด์ ์์ ๋ค์ ๋๋๋ฆฝ๋๋ค. Rollback ์์ ์์ฒด์ Dry-run์ ์ ์ธํ ํด๋น ์คํฌ๋ฆฝํธ์ ๋ชจ๋ ๊ธฐ๋ฅ์ด ์ด์ ํด๋น ๋ฉ๋๋ค. (Reverts previous operations. This applies to all functions of the script except for the Rollback operation itself and Dry-run.)
-
Clear: ๋จ์ ์๋ json ๋ก๊ทธ๋ค์ ์ ๋ถ ์ด๊ธฐํ์ํต๋๋ค. Rollback์ด ๋ถ๊ฐ๋ฅํฉ๋๋ค. (All remaining JSON logs are initialized. Rollback is not possible.)
-
Dry-run: --dry-run ํ๋๊ทธ๋ฅผ ํตํด ์ค์ ํ์ผ ์์คํ ์ ๋ณ๊ฒฝํ๊ธฐ ์ , ์ํ๋ ์์ ์ ์ฝ์์์ ๋ฏธ๋ฆฌ ์์ ํ๊ฒ ํ์ธํ ์ ์์ต๋๋ค. (Safely preview all planned operations in the console using the --dry-run flag before any actual file system changes occur.)
-
Analysis: ํด๋์ ์ฉ๋๊ณผ ํด๋ ์์ ์๋ ํ์ผ์ ํ์ ๋ฑ์ ํ์ธ ๊ฐ๋ฅ. ํ๊ทธ๊ฐ ์์์ ํ๊ทธ๋ ํ์ธ ๊ฐ๋ฅ. (Check folder size and file types within the folder. Tags can also be checked if they exist.)
-
Tagging: ํน์ ํด๋์ ํ๊ทธ๋ฅผ ๋ถ์ฌ์ ์ดํ folder_manager์ ๋ถ์ ๊ธฐ๋ฅ์ผ๋ก ํ์ธ ๊ฐ๋ฅํจ. (Tag specific folders can be attached to view them later using the folder_manager analysis function.)
-
Archive Path Setting Function: ์์นด์ด๋ธ ์ ์ฅ ์์น๋ฅผ ์์ ๋กญ๊ฒ ๋ณ๊ฒฝ ๊ฐ๋ฅ. ๊ถํ ํ์์ ๊ฒฝ๊ณ ํ ์๋ํ์ง ์์. (Freely change the archive save location. If permissions are required, a warning will be issued and the function will not operate.)
-
Smart Parsing: argparse๋ฅผ ๋์ ํ์ฌ ๋ ์ ๋ฌธ์ ์ธ CLI ์ธํฐํ์ด์ค๋ฅผ ์ ๊ณตํ๋ฉฐ, 01_Name ํ์์ ๋ช ๋ช ๊ท์น์ ์ง์ํฉ๋๋ค. (Features a professional CLI interface via argparse and supports the 01.Name naming convention.)
๐ง ์ค์น ๋ฐ ์ฌ์ฉ๋ฒ (Installation & Usage)
ํ์ผ๋ช ๋ณ๊ฒฝ : ์์ฃผ ์ฌ์ฉํ์ค๊ฑฐ๋ผ๋ฉด ์ฌ๋ณผ๋ฆญ ๋งํฌ๋ฅผ ๊ฑธ์ง ์์ ๊ฒฝ์ฐ 'fm'์ผ๋ก ํ์ผ๋ช ์ ๊ต์ฒดํ๋ ๊ฒ์ ๊ถ์ฅ ๋๋ฆฝ๋๋ค.
Recommended for Linux:
mkdir -p ~/.local/bin
ln -s "$(pwd)/folder_manager.py" ~/.local/bin/fm
โพ๏ธ ๊ถ๊ณ ์ฌํญ (Recommendation)
์ด ํญ๋ชฉ์ ํ๋ก์ ํธ ์ ์๊ถ์์ ๊ถ์ฅ ์ฌํญ์ ๋๋ค. (This item is a recommendation from the project copyright holder)
์ด ์ํํธ์จ์ด๋ ์๋ํ๋ฅผ ํตํ ํจ์จ์ฑ ํฅ์์ ์ํด ๊ฐ๋ฐ๋์์ต๋๋ค. ํน์ ํ๋ซํผ์ ๋ํ ์ฒด๊ณ์ ์ธ ์ฐจ๋ณ์ด๋ ์ง์ ๊ฐ๋ฅํ ์ํํธ์จ์ด ๊ฑด์ ์ฑ์ ์๋์ ์ผ๋ก ๋ฌด์ํ๋ ํ์ ๋ฑ '๊ธฐ์ ์ ์ '์ ์ถ๊ตฌํ๋ ๋ฐ ์ด ์ํํธ์จ์ด๋ฅผ ์ฌ์ฉํ๋ ๊ฒ์ ์ ๋ ๊ถ์ฅํ์ง ์์ต๋๋ค. ์ ํฌ๋ ์ฌ์ฉ์ ๊ฒฝํ๊ณผ ๊ธฐ์ ์ ๋ฌด๊ฒฐ์ฑ์ด ๋ชจ๋์๊ฒ ์กด์ค๋ฐ๋ ๋์งํธ ํ๊ฒฝ์ ์งํฅํฉ๋๋ค.
์ฌ์ฉ์๋ฅผ ์กด์คํ๊ณ , ๊ธฐ์ ์ ์กด์คํ์ญ์์ค.
๊ธฐ์ ์ ์๊ด๋ฐ์๊ฐ ์๋ ๋ฌด๊ถ๋ฌด์งํ ๊ฐ๋ฅ์ฑ์.
This software is intended for the advancement of organized efficiency. Its use in the pursuit of 'technical evil'โincluding but not limited to the systematic discrimination against specific platforms or the intentional disregard for sustainable software healthโis explicitly not recommended. We advocate for a digital environment where the user experience and technical integrity are respected by all.
Respect the user' respect the craft.
Not glory for technology, but boundless possibilities.
๊ธฐ์ฌ ์๋ด (Contributing)
์ด ํ๋ก์ ํธ ๋ ํฌ์งํ ๋ฆฌ์ ์ํ๋ ๋ชจ๋ ๋ธ๋์น์ ๊ธฐ์ฌ(Issue ์ ๊ธฐ๋ Pull Request ์ ์ถ ๋ฑ)ํ๋ ๊ฒ์ ํ๋ก์ ํธ์ ๊ถ๋ฆฌ ์๋ ๋ฐ ๋ผ์ด์ ์ค ๋ณ๊ฒฝ ๋์(CLA) ์ ๋์ํ๋ ๊ฒ์ผ๋ก ๊ฐ์ฃผ๋ฉ๋๋ค. (CLA.md)๋ฅผ ์ฐธ๊ณ ํ์ญ์์ค.
By contributing to any branch within this project repository (including but not limited to Issues or Pull Requests), you are deemed to have agreed to the project's Contributor License Agreement (CLA). Please refer to (CLA.md).
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file folder_manager_py-0.3.7.tar.gz.
File metadata
- Download URL: folder_manager_py-0.3.7.tar.gz
- Upload date:
- Size: 28.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85af3bd93c4474ed5e185d5743489077389a20a1e3855c9d6d028036a1f16b12
|
|
| MD5 |
1d339536312f48d1af637710463c7edf
|
|
| BLAKE2b-256 |
5a8be56a6f74a836b5f319f94361d8284273f47f8882ab7e40d6df89a6944b6f
|
File details
Details for the file folder_manager_py-0.3.7-py3-none-any.whl.
File metadata
- Download URL: folder_manager_py-0.3.7-py3-none-any.whl
- Upload date:
- Size: 25.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7df644a5308388bfc10d38665a679a734a26c4924d375189c23f053a584934f5
|
|
| MD5 |
cefd04f447512c20029b198caba828be
|
|
| BLAKE2b-256 |
36ea5f83c0237d787e4e52f5561409bdfd07ac93af22c4cf2a555e1f5ff52b97
|