rmout is a tool for throwing unnecessary files in a directory into the trash.
Project description
rmout
rmout is a tool for throwing unnecessary files in a directory into the trash.
Installation
conda, venv
$ pip install rmout
Usage
Create a ".rmoutrc" file under your home directory or current directory. In the file, list the extensions of the files to be deleted.
example: .rmoutrc
file
.sim
.prt
.dat
Move to the directory containing the files you want to throw in the Trash and execute the following command.
$ rmout
In "send to trash [a] ? ", enter the extension code of the file you want to send to the Trash. The default is all files. If you press the ENTER key without typing, the files with the extensions listed will be sent from the directory to the Trash.
If you enter the code to the left of the extension list separated by commas, you can select the file with the extension you want to discard.
$ rmout
1: *.com 2
2: *.dat 2
3: *.log 1
4: *.msg 2
5: *.odb 2
6: *.oke 1
7: *.prt 2
8: *.sim 2
9: *.sta 2
a: all files
x: exit
send to trash [a] ? 1, 5
job01.com
job02.com
job01.odb
job02.odb
finished.
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
Built Distribution
File details
Details for the file rmout-0.3.0.tar.gz
.
File metadata
- Download URL: rmout-0.3.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 717c07fa5a793136682a8ce5090318fe0a90c8c65ade109f41cfb58be24d8696 |
|
MD5 | 39e3959281a205c0f261195bd3b90518 |
|
BLAKE2b-256 | c6ebf3283a03d3a635a234d8976d48c1a13594729ec2f695cc065e0f3a662648 |
File details
Details for the file rmout-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: rmout-0.3.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 728aeb0958cad40e50492355e4cae66bc9205b55dab56384f79860a3bd24602a |
|
MD5 | 90e8402f128b05eb1da80530eb8a9063 |
|
BLAKE2b-256 | eddb70a004e6229524afd2c45da1a6f1bcda91bca509cdb720de7bc63267d393 |