Cleanup your directory
Project description
housekeeper
Overview
housekeeperはあなたのLaptoopを(見かけ上)綺麗にするPythonアプリケーションです。 ~/Desktop, ~/Downloads配下に散らかった様々なファイルを拡張子ごとに仕分けて移動させます。
動作環境
- Python 3.x
- Rye
インストール
$ rye install .
実行方法
デフォルトでは~/Desktop, ~/Downloads配下のファイルを仕分けますが、-dオプションで仕分けたいディレクトリを追加することも可能です。
$ housekeep
$ housekeep -d /hoge/fuga /foo/bar/baz
Desclimer
- このスクリプトを実行すると、~/Desktop, ~/Downloadsならびにオプションで指定したディレクトリ配下のファイルをmvコマンドで移動させたような動きとなります。
- このスクリプトで起きたいかなる損害に対して、作成者は一切責任を負いませんので、ご理解の上ご利用ください。
conf.yml
target_dir: #仕分け元のディレクトリを指定します。
- '~/Downloads'
- '~/Desktop'
outdir: './' #配置先のファイルを指定することが可能です。
exts: #仕分けルールです。.csvで終わるファイルをcsvディレクトリに配置、ppt,pptxはpptディレクトリに配置します。こちらに定義を足すことでより様々なファイルを仕分けることができます。
csv: csv
dmg: dmg
doc: doc
drawio: drawio
jpg: jpg
jpeg: jpg
json: json
log: log
m4a: m4a
pdf: pdf
png: png
ppt: ppt
pptx: ppt
py: py
txt: txt
xls: xls
xlsx: xls
yaml: yml
yml: yml
zip: zip
tar.gz : tar
tgz : tar
md: md
other: other
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ddclearner-1.0.0.tar.gz
(5.1 kB
view details)
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 ddclearner-1.0.0.tar.gz.
File metadata
- Download URL: ddclearner-1.0.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd9a48d9065c09bc34ebab0be0a3144e190c6b77a4c0b96b30535634fb2fba4d
|
|
| MD5 |
82f34418853b9e9fbdde55f9fc206f9c
|
|
| BLAKE2b-256 |
b7fa5359f00f3076d771205fda3437e1131a9d9be69d531525cf2416b1da27ba
|
File details
Details for the file ddclearner-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ddclearner-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5baf9851a90ab3f09501bb346aa468d0a3874e125f8860819adb3e545370e91b
|
|
| MD5 |
93b833d5bed94001dc95a89aa7f46002
|
|
| BLAKE2b-256 |
dab2e9ceb73231e2af9ffb7a5a122c65dcac3dd1f2f3da242289037483f33b24
|